| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ |
| 6 #define EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ | 6 #define EXTENSIONS_BROWSER_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 12 matching lines...) Expand all Loading... |
| 23 } | 23 } |
| 24 #endif // defined(OS_CHROMEOS) | 24 #endif // defined(OS_CHROMEOS) |
| 25 | 25 |
| 26 namespace content { | 26 namespace content { |
| 27 class BrowserContext; | 27 class BrowserContext; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace extensions { | 30 namespace extensions { |
| 31 | 31 |
| 32 class ContentVerifier; | 32 class ContentVerifier; |
| 33 class DeclarativeUserScriptManager; | |
| 34 class ErrorConsole; | 33 class ErrorConsole; |
| 35 class EventRouter; | 34 class EventRouter; |
| 36 class Extension; | 35 class Extension; |
| 37 class ExtensionSet; | 36 class ExtensionSet; |
| 38 class InfoMap; | 37 class InfoMap; |
| 39 class InstallVerifier; | 38 class InstallVerifier; |
| 40 class LazyBackgroundTaskQueue; | 39 class LazyBackgroundTaskQueue; |
| 41 class ManagementPolicy; | 40 class ManagementPolicy; |
| 42 class OneShotEvent; | 41 class OneShotEvent; |
| 43 class QuotaService; | 42 class QuotaService; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 70 virtual RuntimeData* runtime_data() = 0; | 69 virtual RuntimeData* runtime_data() = 0; |
| 71 | 70 |
| 72 // The class controlling whether users are permitted to perform certain | 71 // The class controlling whether users are permitted to perform certain |
| 73 // actions on extensions (install, uninstall, disable, etc.). | 72 // actions on extensions (install, uninstall, disable, etc.). |
| 74 // The ManagementPolicy is created at startup. | 73 // The ManagementPolicy is created at startup. |
| 75 virtual ManagementPolicy* management_policy() = 0; | 74 virtual ManagementPolicy* management_policy() = 0; |
| 76 | 75 |
| 77 // The SharedUserScriptMaster is created at startup. | 76 // The SharedUserScriptMaster is created at startup. |
| 78 virtual SharedUserScriptMaster* shared_user_script_master() = 0; | 77 virtual SharedUserScriptMaster* shared_user_script_master() = 0; |
| 79 | 78 |
| 80 // The DeclarativeUserScriptManager is created at startup. | |
| 81 virtual DeclarativeUserScriptManager* declarative_user_script_manager() = 0; | |
| 82 | |
| 83 // The StateStore is created at startup. | 79 // The StateStore is created at startup. |
| 84 virtual StateStore* state_store() = 0; | 80 virtual StateStore* state_store() = 0; |
| 85 | 81 |
| 86 // The rules store is created at startup. | 82 // The rules store is created at startup. |
| 87 virtual StateStore* rules_store() = 0; | 83 virtual StateStore* rules_store() = 0; |
| 88 | 84 |
| 89 // Returns the IO-thread-accessible extension data. | 85 // Returns the IO-thread-accessible extension data. |
| 90 virtual InfoMap* info_map() = 0; | 86 virtual InfoMap* info_map() = 0; |
| 91 | 87 |
| 92 // The LazyBackgroundTaskQueue is created at startup. | 88 // The LazyBackgroundTaskQueue is created at startup. |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 // Get a set of extensions that depend on the given extension. | 125 // Get a set of extensions that depend on the given extension. |
| 130 // TODO(elijahtaylor): Move SharedModuleService out of chrome/browser | 126 // TODO(elijahtaylor): Move SharedModuleService out of chrome/browser |
| 131 // so it can be retrieved from ExtensionSystem directly. | 127 // so it can be retrieved from ExtensionSystem directly. |
| 132 virtual scoped_ptr<ExtensionSet> GetDependentExtensions( | 128 virtual scoped_ptr<ExtensionSet> GetDependentExtensions( |
| 133 const Extension* extension) = 0; | 129 const Extension* extension) = 0; |
| 134 }; | 130 }; |
| 135 | 131 |
| 136 } // namespace extensions | 132 } // namespace extensions |
| 137 | 133 |
| 138 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ | 134 #endif // EXTENSIONS_BROWSER_EXTENSION_SYSTEM_H_ |
| OLD | NEW |