| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 public: | 180 public: |
| 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 Init(bool extensions_enabled); | 188 void Init(bool extensions_enabled); |
| 189 | 189 |
| 190 // ProfileKeyedService implementation. |
| 191 virtual void Shutdown() OVERRIDE; |
| 192 |
| 190 StateStore* state_store(); | 193 StateStore* state_store(); |
| 191 ExtensionService* extension_service(); | 194 ExtensionService* extension_service(); |
| 192 ManagementPolicy* management_policy(); | 195 ManagementPolicy* management_policy(); |
| 193 UserScriptMaster* user_script_master(); | 196 UserScriptMaster* user_script_master(); |
| 194 ExtensionInfoMap* info_map(); | 197 ExtensionInfoMap* info_map(); |
| 195 LazyBackgroundTaskQueue* lazy_background_task_queue(); | 198 LazyBackgroundTaskQueue* lazy_background_task_queue(); |
| 196 MessageService* message_service(); | 199 MessageService* message_service(); |
| 197 EventRouter* event_router(); | 200 EventRouter* event_router(); |
| 198 | 201 |
| 199 private: | 202 private: |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 scoped_ptr<ApiResourceManager< | 236 scoped_ptr<ApiResourceManager< |
| 234 UsbDeviceResource> > usb_device_resource_manager_; | 237 UsbDeviceResource> > usb_device_resource_manager_; |
| 235 scoped_ptr<RulesRegistryService> rules_registry_service_; | 238 scoped_ptr<RulesRegistryService> rules_registry_service_; |
| 236 | 239 |
| 237 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); | 240 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); |
| 238 }; | 241 }; |
| 239 | 242 |
| 240 } // namespace extensions | 243 } // namespace extensions |
| 241 | 244 |
| 242 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ | 245 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ |
| OLD | NEW |