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

Unified Diff: chrome/browser/extensions/api/declarative/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/rules_registry.cc
diff --git a/chrome/browser/extensions/api/declarative/rules_registry.cc b/chrome/browser/extensions/api/declarative/rules_registry.cc
index 2f6c2fb96bba9374e0cf65113d999c4757746710..0fb789ed831058fd4c4fc467514ff71fa8b207bd 100644
--- a/chrome/browser/extensions/api/declarative/rules_registry.cc
+++ b/chrome/browser/extensions/api/declarative/rules_registry.cc
@@ -74,10 +74,12 @@ RulesRegistry::RulesRegistry(
Profile* profile,
const std::string& event_name,
content::BrowserThread::ID owner_thread,
- RulesCacheDelegate* cache_delegate)
+ RulesCacheDelegate* cache_delegate,
+ const WebViewKey& webview_key)
: profile_(profile),
owner_thread_(owner_thread),
event_name_(event_name),
+ webview_key_(webview_key),
weak_ptr_factory_(profile ? this : NULL),
process_changed_rules_requested_(profile ? NOT_SCHEDULED_FOR_PROCESSING
: NEVER_PROCESS),

Powered by Google App Engine
This is Rietveld 408576698