| Index: extensions/browser/api/extensions_api_client.h
|
| diff --git a/extensions/browser/api/extensions_api_client.h b/extensions/browser/api/extensions_api_client.h
|
| index 5cd3cee95e940b5be8fb5207422c6e8245ddcea1..62f187ddb66ee4831f0523b249c4ff659f461112 100644
|
| --- a/extensions/browser/api/extensions_api_client.h
|
| +++ b/extensions/browser/api/extensions_api_client.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "extensions/browser/api/declarative/rules_registry.h"
|
| #include "extensions/browser/api/storage/settings_namespace.h"
|
|
|
| class GURL;
|
| @@ -77,6 +78,13 @@ class ExtensionsAPIClient {
|
|
|
| virtual void RegisterGuestViewTypes() {}
|
|
|
| + // TODO(wjmaclean): Remove this as soon as rules_registry_service.* moves to
|
| + // extensions/browser/api/declarative/.
|
| + virtual scoped_refptr<RulesRegistry> GetRulesRegistry(
|
| + content::BrowserContext* browser_context,
|
| + const RulesRegistry::WebViewKey& webview_key,
|
| + const std::string& event_name);
|
| +
|
| // NOTE: If this interface gains too many methods (perhaps more than 20) it
|
| // should be split into one interface per API.
|
| };
|
|
|