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

Unified Diff: chrome/browser/extensions/api/declarative/test_rules_registry.cc

Issue 53273002: Decouple RulesCacheDelegate from RulesRegistry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor_rules_registry_with_cache
Patch Set: Merge with ToT 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/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 96858e302313ac87f1ced04ce3627534d0afbe17..b025a5a8ac1fc6674a73c660a55bbef2fd07da88 100644
--- a/chrome/browser/extensions/api/declarative/test_rules_registry.cc
+++ b/chrome/browser/extensions/api/declarative/test_rules_registry.cc
@@ -12,9 +12,7 @@ TestRulesRegistry::TestRulesRegistry(content::BrowserThread::ID owner_thread,
const std::string& event_name)
: RulesRegistry(NULL /*profile*/,
event_name,
- owner_thread,
- false /*log_storage_init_delay, this is ignored*/,
- NULL /*ui_part*/) {}
+ owner_thread) {}
TestRulesRegistry::TestRulesRegistry(
Profile* profile,
@@ -23,9 +21,7 @@ TestRulesRegistry::TestRulesRegistry(
scoped_ptr<RulesCacheDelegate>* ui_part)
: RulesRegistry(profile,
event_name,
- owner_thread,
- false /*log_storage_init_delay*/,
- ui_part) {}
+ owner_thread) {}
std::string TestRulesRegistry::AddRulesImpl(
const std::string& extension_id,

Powered by Google App Engine
This is Rietveld 408576698