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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 InfoMap* extension_info_map) override; | 59 InfoMap* extension_info_map) override; |
60 PrefService* GetPrefServiceForContext( | 60 PrefService* GetPrefServiceForContext( |
61 content::BrowserContext* context) override; | 61 content::BrowserContext* context) override; |
62 void GetEarlyExtensionPrefsObservers( | 62 void GetEarlyExtensionPrefsObservers( |
63 content::BrowserContext* context, | 63 content::BrowserContext* context, |
64 std::vector<ExtensionPrefsObserver*>* observers) const override; | 64 std::vector<ExtensionPrefsObserver*>* observers) const override; |
65 ProcessManagerDelegate* GetProcessManagerDelegate() const override; | 65 ProcessManagerDelegate* GetProcessManagerDelegate() const override; |
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( |
| 70 content::BrowserContext* context) override; |
70 bool IsRunningInForcedAppMode() override; | 71 bool IsRunningInForcedAppMode() override; |
71 ApiActivityMonitor* GetApiActivityMonitor( | 72 ApiActivityMonitor* GetApiActivityMonitor( |
72 content::BrowserContext* context) override; | 73 content::BrowserContext* context) override; |
73 ExtensionSystemProvider* GetExtensionSystemFactory() override; | 74 ExtensionSystemProvider* GetExtensionSystemFactory() override; |
74 void RegisterExtensionFunctions( | 75 void RegisterExtensionFunctions( |
75 ExtensionFunctionRegistry* registry) const override; | 76 ExtensionFunctionRegistry* registry) const override; |
76 void RegisterMojoServices(content::RenderFrameHost* render_frame_host, | 77 void RegisterMojoServices(content::RenderFrameHost* render_frame_host, |
77 const Extension* extension) const override; | 78 const Extension* extension) const override; |
78 scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( | 79 scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( |
79 content::BrowserContext* context) const override; | 80 content::BrowserContext* context) const override; |
(...skipping 24 matching lines...) Expand all Loading... |
104 | 105 |
105 // The extension cache used for download and installation. | 106 // The extension cache used for download and installation. |
106 scoped_ptr<ExtensionCache> extension_cache_; | 107 scoped_ptr<ExtensionCache> extension_cache_; |
107 | 108 |
108 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); | 109 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); |
109 }; | 110 }; |
110 | 111 |
111 } // namespace extensions | 112 } // namespace extensions |
112 | 113 |
113 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 114 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |