| Index: chrome/browser/extensions/extension_system_impl.h
|
| diff --git a/chrome/browser/extensions/extension_system_impl.h b/chrome/browser/extensions/extension_system_impl.h
|
| index 2694b5b676950bf74452387833be0db4e374e219..e552df11e9c60702417bebfd4fe98c3974d97092 100644
|
| --- a/chrome/browser/extensions/extension_system_impl.h
|
| +++ b/chrome/browser/extensions/extension_system_impl.h
|
| @@ -13,10 +13,12 @@ class Profile;
|
| namespace extensions {
|
|
|
| class ContentVerifier;
|
| +class DeclarativeUserScriptMaster;
|
| class ExtensionSystemSharedFactory;
|
| class ExtensionWarningBadgeService;
|
| class NavigationObserver;
|
| class StandardManagementPolicyProvider;
|
| +class UserScriptMasterManager;
|
|
|
| // The ExtensionSystem for ProfileImpl and OffTheRecordProfileImpl.
|
| // Implementation details: non-shared services are owned by
|
| @@ -62,6 +64,10 @@ class ExtensionSystemImpl : public ExtensionSystem {
|
| virtual scoped_ptr<ExtensionSet> GetDependentExtensions(
|
| const Extension* extension) OVERRIDE;
|
|
|
| + virtual DeclarativeUserScriptMaster*
|
| + GetDeclarativeUserScriptMasterByExtension(
|
| + const ExtensionId& extension_id) OVERRIDE;
|
| +
|
| private:
|
| friend class ExtensionSystemSharedFactory;
|
|
|
| @@ -98,6 +104,9 @@ class ExtensionSystemImpl : public ExtensionSystem {
|
| const OneShotEvent& ready() const { return ready_; }
|
| ContentVerifier* content_verifier();
|
|
|
| + DeclarativeUserScriptMaster* GetDeclarativeUserScriptMasterByExtension(
|
| + const ExtensionId& extension_id);
|
| +
|
| private:
|
| Profile* profile_;
|
|
|
| @@ -110,7 +119,7 @@ class ExtensionSystemImpl : public ExtensionSystem {
|
| scoped_ptr<LazyBackgroundTaskQueue> lazy_background_task_queue_;
|
| scoped_ptr<EventRouter> event_router_;
|
| scoped_ptr<NavigationObserver> navigation_observer_;
|
| - scoped_ptr<UserScriptMaster> user_script_master_;
|
| + scoped_ptr<UserScriptMasterManager> user_script_master_manager_;
|
| scoped_ptr<Blacklist> blacklist_;
|
| // StandardManagementPolicyProvider depends on Blacklist.
|
| scoped_ptr<StandardManagementPolicyProvider>
|
|
|