| 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 <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 content::BrowserContext* context) override; | 65 content::BrowserContext* context) override; |
| 66 void GetEarlyExtensionPrefsObservers( | 66 void GetEarlyExtensionPrefsObservers( |
| 67 content::BrowserContext* context, | 67 content::BrowserContext* context, |
| 68 std::vector<ExtensionPrefsObserver*>* observers) const override; | 68 std::vector<ExtensionPrefsObserver*>* observers) const override; |
| 69 ProcessManagerDelegate* GetProcessManagerDelegate() const override; | 69 ProcessManagerDelegate* GetProcessManagerDelegate() const override; |
| 70 std::unique_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override; | 70 std::unique_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() override; |
| 71 bool DidVersionUpdate(content::BrowserContext* context) override; | 71 bool DidVersionUpdate(content::BrowserContext* context) override; |
| 72 void PermitExternalProtocolHandler() override; | 72 void PermitExternalProtocolHandler() override; |
| 73 bool IsRunningInForcedAppMode() override; | 73 bool IsRunningInForcedAppMode() override; |
| 74 bool IsLoggedInAsPublicAccount() override; | 74 bool IsLoggedInAsPublicAccount() override; |
| 75 ApiActivityMonitor* GetApiActivityMonitor( | |
| 76 content::BrowserContext* context) override; | |
| 77 ExtensionSystemProvider* GetExtensionSystemFactory() override; | 75 ExtensionSystemProvider* GetExtensionSystemFactory() override; |
| 78 void RegisterExtensionFunctions( | 76 void RegisterExtensionFunctions( |
| 79 ExtensionFunctionRegistry* registry) const override; | 77 ExtensionFunctionRegistry* registry) const override; |
| 80 void RegisterMojoServices(content::RenderFrameHost* render_frame_host, | 78 void RegisterMojoServices(content::RenderFrameHost* render_frame_host, |
| 81 const Extension* extension) const override; | 79 const Extension* extension) const override; |
| 82 std::unique_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( | 80 std::unique_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( |
| 83 content::BrowserContext* context) const override; | 81 content::BrowserContext* context) const override; |
| 84 const ComponentExtensionResourceManager* | 82 const ComponentExtensionResourceManager* |
| 85 GetComponentExtensionResourceManager() override; | 83 GetComponentExtensionResourceManager() override; |
| 86 void BroadcastEventToRenderers( | 84 void BroadcastEventToRenderers( |
| (...skipping 22 matching lines...) Expand all Loading... |
| 109 | 107 |
| 110 // The extension cache used for download and installation. | 108 // The extension cache used for download and installation. |
| 111 std::unique_ptr<ExtensionCache> extension_cache_; | 109 std::unique_ptr<ExtensionCache> extension_cache_; |
| 112 | 110 |
| 113 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); | 111 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); |
| 114 }; | 112 }; |
| 115 | 113 |
| 116 } // namespace extensions | 114 } // namespace extensions |
| 117 | 115 |
| 118 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 116 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |