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

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: Added tests Created 7 years, 2 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: 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 7dc19f7ade9a989e75b571794dd926fe437a03b9..f0a0c19b0c063949e135901e47f5f7923bc81c2c 100644
--- a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc
+++ b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.cc
@@ -36,12 +36,14 @@ namespace extensions {
WebRequestRulesRegistry::WebRequestRulesRegistry(
Profile* profile,
- scoped_ptr<RulesRegistryWithCache::RuleStorageOnUI>* ui_part)
+ scoped_ptr<RulesRegistryWithCache::RuleStorageOnUI>* ui_part,
+ const WebViewKey& webview_key)
: RulesRegistryWithCache((ui_part ? profile : NULL),
declarative_webrequest_constants::kOnRequest,
content::BrowserThread::IO,
true /*log_storage_init_delay*/,
- ui_part),
+ ui_part,
+ webview_key),
profile_id_(profile) {
if (profile)
extension_info_map_ = ExtensionSystem::Get(profile)->info_map();

Powered by Google App Engine
This is Rietveld 408576698