OLD | NEW |
(Empty) | |
| 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 #pragma once |
| 8 |
| 9 #include <string> |
| 10 |
| 11 #include "googleurl/src/gurl.h" |
| 12 |
| 13 class Profile; |
| 14 |
| 15 class TerminalExtensionHelper { |
| 16 public: |
| 17 static bool AllowAccessToExtension(Profile* profile, |
| 18 const std::string& extension_id); |
| 19 static GURL GetCroshExtensionURL(Profile* profile); |
| 20 |
| 21 private: |
| 22 static const char* GetTerminalExtensionId(Profile* profile); |
| 23 }; |
| 24 |
| 25 #endif // CHROME_BROWSER_EXTENSIONS_API_TERMINAL_TERMINAL_EXTENSION_HELPER_H_ |
OLD | NEW |