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

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: Addressed nits 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_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 ba9428b79d9def7ac09fab07a0bc67ee63ecf36e..4e9a51128fa40df69cb0e6132cbb6e545ceab9b0 100644
--- a/chrome/browser/extensions/api/declarative_content/content_rules_registry.cc
+++ b/chrome/browser/extensions/api/declarative_content/content_rules_registry.cc
@@ -26,7 +26,8 @@ ContentRulesRegistry::ContentRulesRegistry(Profile* profile,
: RulesRegistry(profile,
declarative_content_constants::kOnPageChanged,
content::BrowserThread::UI,
- cache_delegate) {
+ cache_delegate,
+ WebViewKey(0, 0)) {
extension_info_map_ = ExtensionSystem::Get(profile)->info_map();
registrar_.Add(this, content::NOTIFICATION_RENDERER_PROCESS_CREATED,

Powered by Google App Engine
This is Rietveld 408576698