OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
6 #define APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define APPS_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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 virtual bool AllowCrossRendererResourceLoad(net::URLRequest* request, | 52 virtual bool AllowCrossRendererResourceLoad(net::URLRequest* request, |
53 bool is_incognito, | 53 bool is_incognito, |
54 const Extension* extension, | 54 const Extension* extension, |
55 InfoMap* extension_info_map) | 55 InfoMap* extension_info_map) |
56 OVERRIDE; | 56 OVERRIDE; |
57 virtual PrefService* GetPrefServiceForContext( | 57 virtual PrefService* GetPrefServiceForContext( |
58 content::BrowserContext* context) OVERRIDE; | 58 content::BrowserContext* context) OVERRIDE; |
59 virtual void GetEarlyExtensionPrefsObservers( | 59 virtual void GetEarlyExtensionPrefsObservers( |
60 content::BrowserContext* context, | 60 content::BrowserContext* context, |
61 std::vector<ExtensionPrefsObserver*>* observers) const OVERRIDE; | 61 std::vector<ExtensionPrefsObserver*>* observers) const OVERRIDE; |
62 virtual bool DeferLoadingBackgroundHosts(content::BrowserContext* context) | 62 virtual ProcessManagerDelegate* GetProcessManagerDelegate() const OVERRIDE; |
63 const OVERRIDE; | |
64 virtual bool IsBackgroundPageAllowed(content::BrowserContext* context) | |
65 const OVERRIDE; | |
66 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() | 63 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() |
67 OVERRIDE; | 64 OVERRIDE; |
68 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; | 65 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; |
69 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; | 66 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; |
70 virtual bool IsRunningInForcedAppMode() OVERRIDE; | 67 virtual bool IsRunningInForcedAppMode() OVERRIDE; |
71 virtual ApiActivityMonitor* GetApiActivityMonitor( | 68 virtual ApiActivityMonitor* GetApiActivityMonitor( |
72 content::BrowserContext* context) OVERRIDE; | 69 content::BrowserContext* context) OVERRIDE; |
73 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; | 70 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; |
74 virtual void RegisterExtensionFunctions( | 71 virtual void RegisterExtensionFunctions( |
75 ExtensionFunctionRegistry* registry) const OVERRIDE; | 72 ExtensionFunctionRegistry* registry) const OVERRIDE; |
(...skipping 11 matching lines...) Expand all Loading... |
87 | 84 |
88 // The PrefService for |browser_context_|. | 85 // The PrefService for |browser_context_|. |
89 scoped_ptr<PrefService> prefs_; | 86 scoped_ptr<PrefService> prefs_; |
90 | 87 |
91 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); | 88 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); |
92 }; | 89 }; |
93 | 90 |
94 } // namespace extensions | 91 } // namespace extensions |
95 | 92 |
96 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 93 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |