| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
| 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "extensions/browser/extensions_browser_client.h" | 9 #include "extensions/browser/extensions_browser_client.h" |
| 10 | 10 |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override; | 66 scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override; |
| 67 bool DidVersionUpdate(content::BrowserContext* context) override; | 67 bool DidVersionUpdate(content::BrowserContext* context) override; |
| 68 void PermitExternalProtocolHandler() override; | 68 void PermitExternalProtocolHandler() override; |
| 69 scoped_ptr<AppSorting> CreateAppSorting() override; | 69 scoped_ptr<AppSorting> CreateAppSorting() override; |
| 70 bool IsRunningInForcedAppMode() override; | 70 bool IsRunningInForcedAppMode() override; |
| 71 ApiActivityMonitor* GetApiActivityMonitor( | 71 ApiActivityMonitor* GetApiActivityMonitor( |
| 72 content::BrowserContext* context) override; | 72 content::BrowserContext* context) override; |
| 73 ExtensionSystemProvider* GetExtensionSystemFactory() override; | 73 ExtensionSystemProvider* GetExtensionSystemFactory() override; |
| 74 void RegisterExtensionFunctions( | 74 void RegisterExtensionFunctions( |
| 75 ExtensionFunctionRegistry* registry) const override; | 75 ExtensionFunctionRegistry* registry) const override; |
| 76 void RegisterMojoServices(content::RenderFrameHost* render_frame_host, |
| 77 const Extension* extension) const override; |
| 76 scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( | 78 scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( |
| 77 content::BrowserContext* context) const override; | 79 content::BrowserContext* context) const override; |
| 78 const ComponentExtensionResourceManager* | 80 const ComponentExtensionResourceManager* |
| 79 GetComponentExtensionResourceManager() override; | 81 GetComponentExtensionResourceManager() override; |
| 80 void BroadcastEventToRenderers(const std::string& event_name, | 82 void BroadcastEventToRenderers(const std::string& event_name, |
| 81 scoped_ptr<base::ListValue> args) override; | 83 scoped_ptr<base::ListValue> args) override; |
| 82 net::NetLog* GetNetLog() override; | 84 net::NetLog* GetNetLog() override; |
| 83 ExtensionCache* GetExtensionCache() override; | 85 ExtensionCache* GetExtensionCache() override; |
| 84 bool IsBackgroundUpdateAllowed() override; | 86 bool IsBackgroundUpdateAllowed() override; |
| 85 bool IsMinBrowserVersionSupported(const std::string& min_version) override; | 87 bool IsMinBrowserVersionSupported(const std::string& min_version) override; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 99 | 101 |
| 100 // The extension cache used for download and installation. | 102 // The extension cache used for download and installation. |
| 101 scoped_ptr<ExtensionCache> extension_cache_; | 103 scoped_ptr<ExtensionCache> extension_cache_; |
| 102 | 104 |
| 103 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); | 105 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); |
| 104 }; | 106 }; |
| 105 | 107 |
| 106 } // namespace extensions | 108 } // namespace extensions |
| 107 | 109 |
| 108 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 110 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |