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. |