Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Unified Diff: extensions/browser/extension_system.h

Issue 796453003: Introduce DeclarativeUserScriptManager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move back to extensions namespace. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
+
// 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

Powered by Google App Engine
This is Rietveld 408576698