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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual bool IsRunningInForcedAppMode() OVERRIDE; | 67 virtual bool IsRunningInForcedAppMode() OVERRIDE; |
68 virtual ApiActivityMonitor* GetApiActivityMonitor( | 68 virtual ApiActivityMonitor* GetApiActivityMonitor( |
69 content::BrowserContext* context) OVERRIDE; | 69 content::BrowserContext* context) OVERRIDE; |
70 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; | 70 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; |
71 virtual void RegisterExtensionFunctions( | 71 virtual void RegisterExtensionFunctions( |
72 ExtensionFunctionRegistry* registry) const OVERRIDE; | 72 ExtensionFunctionRegistry* registry) const OVERRIDE; |
73 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( | 73 virtual scoped_ptr<RuntimeAPIDelegate> CreateRuntimeAPIDelegate( |
74 content::BrowserContext* context) const OVERRIDE; | 74 content::BrowserContext* context) const OVERRIDE; |
75 virtual ComponentExtensionResourceManager* | 75 virtual ComponentExtensionResourceManager* |
76 GetComponentExtensionResourceManager() OVERRIDE; | 76 GetComponentExtensionResourceManager() OVERRIDE; |
| 77 virtual net::NetLog* GetNetLog() OVERRIDE; |
77 | 78 |
78 private: | 79 private: |
79 // The single BrowserContext for app_shell. Not owned. | 80 // The single BrowserContext for app_shell. Not owned. |
80 content::BrowserContext* browser_context_; | 81 content::BrowserContext* browser_context_; |
81 | 82 |
82 // Support for extension APIs. | 83 // Support for extension APIs. |
83 scoped_ptr<ExtensionsAPIClient> api_client_; | 84 scoped_ptr<ExtensionsAPIClient> api_client_; |
84 | 85 |
85 // The PrefService for |browser_context_|. | 86 // The PrefService for |browser_context_|. |
86 scoped_ptr<PrefService> prefs_; | 87 scoped_ptr<PrefService> prefs_; |
87 | 88 |
88 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); | 89 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); |
89 }; | 90 }; |
90 | 91 |
91 } // namespace extensions | 92 } // namespace extensions |
92 | 93 |
93 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 94 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |