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

Unified Diff: extensions/browser/extension_system.h

Issue 2881453002: DNR Prototype: With flatbuffers
Patch Set: -- Created 3 years, 6 months 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
« no previous file with comments | « extensions/browser/app_window/BUILD.gn ('k') | extensions/browser/extension_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_system.h
diff --git a/extensions/browser/extension_system.h b/extensions/browser/extension_system.h
index 49dc3116846ef379d7ad9bcf8ba0a1d5d8a6a501..cd1d3c3741bd33ee0dce0057625d56db8ff53765 100644
--- a/extensions/browser/extension_system.h
+++ b/extensions/browser/extension_system.h
@@ -40,6 +40,10 @@ class SharedUserScriptMaster;
class StateStore;
class ValueStoreFactory;
+namespace declarative_net_request {
+class RulesMonitor;
+} // namespace
+
// ExtensionSystem manages the lifetime of many of the services used by the
// extensions and apps system, and it handles startup and shutdown as needed.
// Eventually, we'd like to make more of these services into KeyedServices in
@@ -117,6 +121,10 @@ class ExtensionSystem : public KeyedService {
// Returns the content verifier, if any.
virtual ContentVerifier* content_verifier() = 0;
+ // TODO do we need to provide access to rules_monitor. It is already installed
+ // as an ExtensionRegistryObserver.
+ virtual declarative_net_request::RulesMonitor* rules_monitor() = 0;
+
// Get a set of extensions that depend on the given extension.
// TODO(elijahtaylor): Move SharedModuleService out of chrome/browser
// so it can be retrieved from ExtensionSystem directly.
« no previous file with comments | « extensions/browser/app_window/BUILD.gn ('k') | extensions/browser/extension_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698