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

Unified Diff: chrome/browser/extensions/api/declarative/test_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/test_rules_registry.cc
diff --git a/chrome/browser/extensions/api/declarative/test_rules_registry.cc b/chrome/browser/extensions/api/declarative/test_rules_registry.cc
index d22ce15b18a0034f28dd138163fca131a65ecdff..b1d9a7ae9e15e9be4f26e98696b90650dd4cbcc5 100644
--- a/chrome/browser/extensions/api/declarative/test_rules_registry.cc
+++ b/chrome/browser/extensions/api/declarative/test_rules_registry.cc
@@ -9,21 +9,25 @@
namespace extensions {
TestRulesRegistry::TestRulesRegistry(content::BrowserThread::ID owner_thread,
- const std::string& event_name)
+ const std::string& event_name,
+ const WebViewKey& webview_key)
: RulesRegistry(NULL /*profile*/,
event_name,
owner_thread,
- NULL) {}
+ NULL,
+ webview_key) {}
TestRulesRegistry::TestRulesRegistry(
Profile* profile,
const std::string& event_name,
content::BrowserThread::ID owner_thread,
- RulesCacheDelegate* cache_delegate)
+ RulesCacheDelegate* cache_delegate,
+ const WebViewKey& webview_key)
: RulesRegistry(profile,
event_name,
owner_thread,
- cache_delegate) {}
+ cache_delegate,
+ webview_key) {}
std::string TestRulesRegistry::AddRulesImpl(
const std::string& extension_id,

Powered by Google App Engine
This is Rietveld 408576698