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

Unified Diff: extensions/browser/api/extensions_api_client.h

Issue 620623002: Revert "Allow declarative webrequest and webrequest in extensions." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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 878555b2a6ead5ff6ec4fd9269a4d6a94661cdd2..7fc2c1c7f048c3cf31e3b46e77cba1baf40c9735 100644
--- a/extensions/browser/api/extensions_api_client.h
+++ b/extensions/browser/api/extensions_api_client.h
@@ -86,6 +86,13 @@ class ExtensionsAPIClient {
CreateWebViewPermissionHelperDelegate (
WebViewPermissionHelper* web_view_permission_helper) const;
+ // 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);
+
// Creates a delegate for WebRequestEventRouter.
virtual WebRequestEventRouterDelegate* CreateWebRequestEventRouterDelegate()
const;
« no previous file with comments | « extensions/browser/api/declarative/rules_registry_service.cc ('k') | extensions/browser/api/extensions_api_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698