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

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

Issue 49693003: Refactor RulesRegistryWithCache to RulesRegistry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed nits 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 b5c2475bb88a00d69e09c55c795ea9c704d2d287..96858e302313ac87f1ced04ce3627534d0afbe17 100644
--- a/chrome/browser/extensions/api/declarative/test_rules_registry.cc
+++ b/chrome/browser/extensions/api/declarative/test_rules_registry.cc
@@ -10,22 +10,22 @@ namespace extensions {
TestRulesRegistry::TestRulesRegistry(content::BrowserThread::ID owner_thread,
const std::string& event_name)
- : RulesRegistryWithCache(NULL /*profile*/,
- event_name,
- owner_thread,
- false /*log_storage_init_delay, this is ignored*/,
- NULL /*ui_part*/) {}
+ : RulesRegistry(NULL /*profile*/,
+ event_name,
+ owner_thread,
+ false /*log_storage_init_delay, this is ignored*/,
+ NULL /*ui_part*/) {}
TestRulesRegistry::TestRulesRegistry(
Profile* profile,
const std::string& event_name,
content::BrowserThread::ID owner_thread,
- scoped_ptr<RulesRegistryWithCache::RuleStorageOnUI>* ui_part)
- : RulesRegistryWithCache(profile,
- event_name,
- owner_thread,
- false /*log_storage_init_delay*/,
- ui_part) {}
+ scoped_ptr<RulesCacheDelegate>* ui_part)
+ : RulesRegistry(profile,
+ event_name,
+ owner_thread,
+ false /*log_storage_init_delay*/,
+ ui_part) {}
std::string TestRulesRegistry::AddRulesImpl(
const std::string& extension_id,

Powered by Google App Engine
This is Rietveld 408576698