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_EXTENSION_SYSTEM_H_ | 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ |
6 #define APPS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ | 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "extensions/browser/extension_system.h" | 11 #include "extensions/browser/extension_system.h" |
12 #include "extensions/common/one_shot_event.h" | 12 #include "extensions/common/one_shot_event.h" |
13 | 13 |
14 class BrowserContextKeyedServiceFactory; | 14 class BrowserContextKeyedServiceFactory; |
15 | 15 |
16 namespace base { | 16 namespace base { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 // ExtensionSystem implementation: | 50 // ExtensionSystem implementation: |
51 virtual void InitForRegularProfile(bool extensions_enabled) OVERRIDE; | 51 virtual void InitForRegularProfile(bool extensions_enabled) OVERRIDE; |
52 virtual ExtensionService* extension_service() OVERRIDE; | 52 virtual ExtensionService* extension_service() OVERRIDE; |
53 virtual RuntimeData* runtime_data() OVERRIDE; | 53 virtual RuntimeData* runtime_data() OVERRIDE; |
54 virtual ManagementPolicy* management_policy() OVERRIDE; | 54 virtual ManagementPolicy* management_policy() OVERRIDE; |
55 virtual UserScriptMaster* user_script_master() OVERRIDE; | 55 virtual UserScriptMaster* user_script_master() OVERRIDE; |
56 virtual ProcessManager* process_manager() OVERRIDE; | 56 virtual ProcessManager* process_manager() OVERRIDE; |
57 virtual StateStore* state_store() OVERRIDE; | 57 virtual StateStore* state_store() OVERRIDE; |
58 virtual StateStore* rules_store() OVERRIDE; | 58 virtual StateStore* rules_store() OVERRIDE; |
59 virtual InfoMap* info_map() OVERRIDE; | 59 virtual InfoMap* info_map() OVERRIDE; |
60 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() | 60 virtual LazyBackgroundTaskQueue* lazy_background_task_queue() OVERRIDE; |
61 OVERRIDE; | |
62 virtual EventRouter* event_router() OVERRIDE; | 61 virtual EventRouter* event_router() OVERRIDE; |
63 virtual ExtensionWarningService* warning_service() OVERRIDE; | 62 virtual ExtensionWarningService* warning_service() OVERRIDE; |
64 virtual Blacklist* blacklist() OVERRIDE; | 63 virtual Blacklist* blacklist() OVERRIDE; |
65 virtual ErrorConsole* error_console() OVERRIDE; | 64 virtual ErrorConsole* error_console() OVERRIDE; |
66 virtual InstallVerifier* install_verifier() OVERRIDE; | 65 virtual InstallVerifier* install_verifier() OVERRIDE; |
67 virtual QuotaService* quota_service() OVERRIDE; | 66 virtual QuotaService* quota_service() OVERRIDE; |
68 virtual void RegisterExtensionWithRequestContexts( | 67 virtual void RegisterExtensionWithRequestContexts( |
69 const Extension* extension) OVERRIDE; | 68 const Extension* extension) OVERRIDE; |
70 virtual void UnregisterExtensionWithRequestContexts( | 69 virtual void UnregisterExtensionWithRequestContexts( |
71 const std::string& extension_id, | 70 const std::string& extension_id, |
(...skipping 21 matching lines...) Expand all Loading... |
93 scoped_ptr<QuotaService> quota_service_; | 92 scoped_ptr<QuotaService> quota_service_; |
94 | 93 |
95 // Signaled when the extension system has completed its startup tasks. | 94 // Signaled when the extension system has completed its startup tasks. |
96 OneShotEvent ready_; | 95 OneShotEvent ready_; |
97 | 96 |
98 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem); | 97 DISALLOW_COPY_AND_ASSIGN(ShellExtensionSystem); |
99 }; | 98 }; |
100 | 99 |
101 } // namespace extensions | 100 } // namespace extensions |
102 | 101 |
103 #endif // APPS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ | 102 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSION_SYSTEM_H_ |
OLD | NEW |