| 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" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "chrome/browser/profiles/profile_keyed_service.h" | 12 #include "chrome/browser/profiles/profile_keyed_service.h" |
| 13 #include "chrome/common/extensions/extension_constants.h" | 13 #include "chrome/common/extensions/extension_constants.h" |
| 14 | 14 |
| 15 class ExtensionDevToolsManager; | 15 class ExtensionDevToolsManager; |
| 16 class ExtensionEventRouter; | 16 class ExtensionEventRouter; |
| 17 class ExtensionInfoMap; | 17 class ExtensionInfoMap; |
| 18 class ExtensionMessageService; | 18 class ExtensionMessageService; |
| 19 class ExtensionNavigationObserver; | 19 class ExtensionNavigationObserver; |
| 20 class ExtensionProcessManager; | 20 class ExtensionProcessManager; |
| 21 class ExtensionService; | 21 class ExtensionService; |
| 22 class Profile; | 22 class Profile; |
| 23 class UserScriptMaster; | |
| 24 | 23 |
| 25 namespace extensions { | 24 namespace extensions { |
| 26 class AlarmManager; | 25 class AlarmManager; |
| 27 class Extension; | 26 class Extension; |
| 28 class ExtensionPrefs; | 27 class ExtensionPrefs; |
| 29 class ExtensionSystemSharedFactory; | 28 class ExtensionSystemSharedFactory; |
| 30 class LazyBackgroundTaskQueue; | 29 class LazyBackgroundTaskQueue; |
| 31 class ManagementPolicy; | 30 class ManagementPolicy; |
| 32 class RulesRegistryService; | 31 class RulesRegistryService; |
| 33 class StateStore; | 32 class StateStore; |
| 33 class UserScriptMaster; |
| 34 | 34 |
| 35 // The ExtensionSystem manages the creation and destruction of services | 35 // The ExtensionSystem manages the creation and destruction of services |
| 36 // related to extensions. Most objects are shared between normal | 36 // related to extensions. Most objects are shared between normal |
| 37 // and incognito Profiles, except as called out in comments. | 37 // and incognito Profiles, except as called out in comments. |
| 38 // This interface supports using TestExtensionSystem for TestingProfiles | 38 // This interface supports using TestExtensionSystem for TestingProfiles |
| 39 // that don't want all of the extensions baggage in their tests. | 39 // that don't want all of the extensions baggage in their tests. |
| 40 class ExtensionSystem : public ProfileKeyedService { | 40 class ExtensionSystem : public ProfileKeyedService { |
| 41 public: | 41 public: |
| 42 ExtensionSystem(); | 42 ExtensionSystem(); |
| 43 virtual ~ExtensionSystem(); | 43 virtual ~ExtensionSystem(); |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 // access to the ResourceContext owned by |io_data_|. | 206 // access to the ResourceContext owned by |io_data_|. |
| 207 scoped_ptr<ExtensionProcessManager> extension_process_manager_; | 207 scoped_ptr<ExtensionProcessManager> extension_process_manager_; |
| 208 scoped_ptr<AlarmManager> alarm_manager_; | 208 scoped_ptr<AlarmManager> alarm_manager_; |
| 209 | 209 |
| 210 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); | 210 DISALLOW_COPY_AND_ASSIGN(ExtensionSystemImpl); |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 } // namespace extensions | 213 } // namespace extensions |
| 214 | 214 |
| 215 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ | 215 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SYSTEM_H_ |
| OLD | NEW |