terminal_extension_helper.h revision 7dbb3d5cf0c15f500944d211057644d6a2f37371
1// Copyright (c) 2012 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_EXTENSIONS_API_TERMINAL_TERMINAL_EXTENSION_HELPER_H_ 6#define CHROME_BROWSER_EXTENSIONS_API_TERMINAL_TERMINAL_EXTENSION_HELPER_H_ 7 8#include <string> 9 10#include "url/gurl.h" 11 12class Profile; 13 14class TerminalExtensionHelper { 15 public: 16 // Returns Hterm extension's entry point for Crosh. If no HTerm extension is 17 // installed, returns empty url. 18 static GURL GetCroshExtensionURL(Profile* profile); 19}; 20 21#endif // CHROME_BROWSER_EXTENSIONS_API_TERMINAL_TERMINAL_EXTENSION_HELPER_H_ 22