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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 OVERRIDE; | 49 OVERRIDE; |
50 virtual void OnRenderViewCreatedForBackgroundPage(ExtensionHost* host) | 50 virtual void OnRenderViewCreatedForBackgroundPage(ExtensionHost* host) |
51 OVERRIDE; | 51 OVERRIDE; |
52 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; | 52 virtual bool DidVersionUpdate(content::BrowserContext* context) OVERRIDE; |
53 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; | 53 virtual scoped_ptr<AppSorting> CreateAppSorting() OVERRIDE; |
54 virtual bool IsRunningInForcedAppMode() OVERRIDE; | 54 virtual bool IsRunningInForcedAppMode() OVERRIDE; |
55 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager() | 55 virtual content::JavaScriptDialogManager* GetJavaScriptDialogManager() |
56 OVERRIDE; | 56 OVERRIDE; |
57 virtual ApiActivityMonitor* GetApiActivityMonitor( | 57 virtual ApiActivityMonitor* GetApiActivityMonitor( |
58 content::BrowserContext* context) OVERRIDE; | 58 content::BrowserContext* context) OVERRIDE; |
59 virtual std::vector<BrowserContextKeyedServiceFactory*> | 59 virtual ExtensionSystemProvider* GetExtensionSystemFactory() OVERRIDE; |
60 GetExtensionSystemDependencies() OVERRIDE; | |
61 virtual ExtensionSystem* CreateExtensionSystem( | |
62 content::BrowserContext* context) OVERRIDE; | |
63 | 60 |
64 private: | 61 private: |
65 // The single BrowserContext for app_shell. Not owned. | 62 // The single BrowserContext for app_shell. Not owned. |
66 content::BrowserContext* browser_context_; | 63 content::BrowserContext* browser_context_; |
67 | 64 |
68 // The PrefService for |browser_context_|. | 65 // The PrefService for |browser_context_|. |
69 scoped_ptr<PrefService> prefs_; | 66 scoped_ptr<PrefService> prefs_; |
70 | 67 |
71 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); | 68 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); |
72 }; | 69 }; |
73 | 70 |
74 } // namespace extensions | 71 } // namespace extensions |
75 | 72 |
76 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ | 73 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ |
OLD | NEW |