| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 explicit Shared(Profile* profile); | 181 explicit Shared(Profile* profile); |
| 182 virtual ~Shared(); | 182 virtual ~Shared(); |
| 183 | 183 |
| 184 // Initialization takes place in phases. | 184 // Initialization takes place in phases. |
| 185 virtual void InitPrefs(); | 185 virtual void InitPrefs(); |
| 186 // This must not be called until all the providers have been created. | 186 // This must not be called until all the providers have been created. |
| 187 void RegisterManagementPolicyProviders(); | 187 void RegisterManagementPolicyProviders(); |
| 188 void InitInfoMap(); | 188 void InitInfoMap(); |
| 189 void Init(bool extensions_enabled); | 189 void Init(bool extensions_enabled); |
| 190 | 190 |
| 191 // ProfileKeyedService implementation. |
| 192 virtual void Shutdown() OVERRIDE; |
| 193 |
| 191 StateStore* state_store(); | 194 StateStore* state_store(); |
| 192 ExtensionService* extension_service(); | 195 ExtensionService* extension_service(); |
| 193 ManagementPolicy* management_policy(); | 196 ManagementPolicy* management_policy(); |
| 194 UserScriptMaster* user_script_master(); | 197 UserScriptMaster* user_script_master(); |
| 195 ExtensionInfoMap* info_map(); | 198 ExtensionInfoMap* info_map(); |
| 196 LazyBackgroundTaskQueue* lazy_background_task_queue(); | 199 LazyBackgroundTaskQueue* lazy_background_task_queue(); |
| 197 MessageService* message_service(); | 200 MessageService* message_service(); |
| 198 EventRouter* event_router(); | 201 EventRouter* event_router(); |
| 199 | 202 |
| 200 private: | 203 private: |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 scoped_ptr<ApiResourceManager< | 237 scoped_ptr<ApiResourceManager< |
| 235 UsbDeviceResource> > usb_device_resource_manager_; | 238 UsbDeviceResource> > usb_device_resource_manager_; |
| 236 scoped_ptr<RulesRegistryService> rules_registry_service_; | 239 scoped_ptr<RulesRegistryService> rules_registry_service_; |
| 237 | 240 |
| 238 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); | 241 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); |
| 239 }; | 242 }; |
| 240 | 243 |
| 241 } // namespace extensions | 244 } // namespace extensions |
| 242 | 245 |
| 243 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ | 246 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ |
| OLD | NEW |