Chromium Code Reviews| Index: extensions/browser/extension_system.h |
| diff --git a/extensions/browser/extension_system.h b/extensions/browser/extension_system.h |
| index 300e094ef2cb45c57582d76fbafec844fea3b250..400f45e866734c14dba9cbc4d9a25e95ed6b8306 100644 |
| --- a/extensions/browser/extension_system.h |
| +++ b/extensions/browser/extension_system.h |
| @@ -30,7 +30,7 @@ class BrowserContext; |
| namespace extensions { |
| class ContentVerifier; |
| -class DeclarativeUserScriptMaster; |
| +class DeclarativeUserScriptManager; |
| class ErrorConsole; |
| class EventRouter; |
| class Extension; |
| @@ -77,6 +77,9 @@ class ExtensionSystem : public KeyedService { |
| // The SharedUserScriptMaster is created at startup. |
| virtual SharedUserScriptMaster* shared_user_script_master() = 0; |
| + // The DeclarativeUserScriptManager is created at startup. |
| + virtual DeclarativeUserScriptManager* declarative_user_script_manager() = 0; |
|
Fady Samuel
2014/12/12 15:44:31
This is not a trivial accessor: please call this G
Fady Samuel
2014/12/12 16:17:52
OK, it seems like the naming in this entire file i
|
| + |
| // The StateStore is created at startup. |
| virtual StateStore* state_store() = 0; |
| @@ -128,11 +131,6 @@ class ExtensionSystem : public KeyedService { |
| // so it can be retrieved from ExtensionSystem directly. |
| virtual scoped_ptr<ExtensionSet> GetDependentExtensions( |
| const Extension* extension) = 0; |
| - |
| - // Get the user script master for declarative scripts, if any. |
| - virtual DeclarativeUserScriptMaster* |
| - GetDeclarativeUserScriptMasterByExtension( |
| - const ExtensionId& extension_id) = 0; |
| }; |
| } // namespace extensions |