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

Unified Diff: chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.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/initializing_rules_registry_unittest.cc
diff --git a/chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc b/chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc
index 12d707dda9adea885ba09d8d0060cbb0143034d4..67ad2a206c13b9a1d10f5cdf58590b824431334d 100644
--- a/chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc
+++ b/chrome/browser/extensions/api/declarative/initializing_rules_registry_unittest.cc
@@ -22,9 +22,10 @@ TEST(InitializingRulesRegistryTest, FillOptionalIdentifiers) {
base::MessageLoopForUI message_loop;
content::TestBrowserThread thread(content::BrowserThread::UI, &message_loop);
+ const RulesRegistry::WebViewKey key(0, 0);
std::string error;
scoped_refptr<RulesRegistry> registry =
- new TestRulesRegistry(content::BrowserThread::UI, "" /*event_name*/);
+ new TestRulesRegistry(content::BrowserThread::UI, "" /*event_name*/, key);
// Add rules and check that their identifiers are filled and unique.
@@ -137,9 +138,10 @@ TEST(InitializingRulesRegistryTest, FillOptionalPriority) {
base::MessageLoopForUI message_loop;
content::TestBrowserThread thread(content::BrowserThread::UI, &message_loop);
+ const RulesRegistry::WebViewKey key(0, 0);
std::string error;
scoped_refptr<RulesRegistry> registry =
- new TestRulesRegistry(content::BrowserThread::UI, "" /*event_name*/);
+ new TestRulesRegistry(content::BrowserThread::UI, "" /*event_name*/, key);
// Add rules and check that their priorities are filled if they are empty.

Powered by Google App Engine
This is Rietveld 408576698