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 ProcessManagerDelegate* GetProcessManagerDelegate() const OVERRIDE; | 62 virtual bool DeferLoadingBackgroundHosts(content::BrowserContext* context) |
| 63 const OVERRIDE; |
| 64 virtual bool IsBackgroundPageAllowed(content::BrowserContext* context) |
| 65 const OVERRIDE; |
63 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() | 66 virtual scoped_ptr<ExtensionHostDelegate> CreateExtensionHostDelegate() |
64 OVERRIDE; | 67 OVERRIDE; |
65 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; | 68 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; |
66 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; | 69 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; |
67 virtual bool IsRunningInForcedAppMode() OVERRIDE; | 70 virtual bool IsRunningInForcedAppMode() OVERRIDE; |
68 virtual ApiActivityMonitor* GetApiActivityMonitor( | 71 virtual ApiActivityMonitor* GetApiActivityMonitor( |
69 content::BrowserContext* context) OVERRIDE; | 72 content::BrowserContext* context) OVERRIDE; |
70 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; | 73 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; |
71 virtual void RegisterExtensionFunctions( | 74 virtual void RegisterExtensionFunctions( |
72 ExtensionFunctionRegistry* registry) const OVERRIDE; | 75 ExtensionFunctionRegistry* registry) const OVERRIDE; |
(...skipping 11 matching lines...) Expand all Loading... |
84 | 87 |
85 // The PrefService for |browser_context_|. | 88 // The PrefService for |browser_context_|. |
86 scoped_ptr<PrefService> prefs_; | 89 scoped_ptr<PrefService> prefs_; |
87 | 90 |
88 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); | 91 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); |
89 }; | 92 }; |
90 | 93 |
91 } // namespace extensions | 94 } // namespace extensions |
92 | 95 |
93 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 96 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |