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

Unified Diff: chrome/browser/extensions/api/declarative_content/content_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_content/content_rules_registry.cc
diff --git a/chrome/browser/extensions/api/declarative_content/content_rules_registry.cc b/chrome/browser/extensions/api/declarative_content/content_rules_registry.cc
index 99f149082463832999b2ec438c3586094518bf4a..bc90036788514662e80d7db1b6e310e039ea4d0f 100644
--- a/chrome/browser/extensions/api/declarative_content/content_rules_registry.cc
+++ b/chrome/browser/extensions/api/declarative_content/content_rules_registry.cc
@@ -23,12 +23,14 @@ namespace extensions {
ContentRulesRegistry::ContentRulesRegistry(
Profile* profile,
- scoped_ptr<RulesRegistryWithCache::RuleStorageOnUI>* ui_part)
+ scoped_ptr<RulesRegistryWithCache::RuleStorageOnUI>* ui_part,
+ const WebViewKey& webview_key)
: RulesRegistryWithCache((ui_part ? profile : NULL),
declarative_content_constants::kOnPageChanged,
content::BrowserThread::UI,
false /*log_storage_init_delay*/,
- ui_part),
+ ui_part,
+ webview_key),
profile_(profile) {
extension_info_map_ = ExtensionSystem::Get(profile)->info_map();

Powered by Google App Engine
This is Rietveld 408576698