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

Unified Diff: chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc

Issue 28273006: <webview>: Implement declarativeWebRequest API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Istiaque's comments Created 7 years, 1 month 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: chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc
diff --git a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc
index be0010bfa872de1d8229a7980f89839ad7c3ca40..1741ae9ef57b736a212c21b3c36a25e3283999f2 100644
--- a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc
+++ b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc
@@ -36,11 +36,13 @@ namespace extensions {
WebRequestRulesRegistry::WebRequestRulesRegistry(
Profile* profile,
- RulesCacheDelegate* cache_delegate)
+ RulesCacheDelegate* cache_delegate,
+ const WebViewKey& webview_key)
: RulesRegistry(profile,
declarative_webrequest_constants::kOnRequest,
content::BrowserThread::IO,
- cache_delegate),
+ cache_delegate,
+ webview_key),
profile_id_(profile) {
if (profile)
extension_info_map_ = ExtensionSystem::Get(profile)->info_map();

Powered by Google App Engine
This is Rietveld 408576698