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

Unified Diff: chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h

Issue 53273002: Decouple RulesCacheDelegate from RulesRegistry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@refactor_rules_registry_with_cache
Patch Set: Updated 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_webrequest/webrequest_rules_registry.h
diff --git a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h
index 311fe19ae66b2125c1c7a4ebeee16985d9dc6fbc..7c8f3b1681b0d11706d4a23c99fe216fd9042063 100644
--- a/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h
+++ b/chrome/browser/extensions/api/declarative_webrequest/webrequest_rules_registry.h
@@ -76,7 +76,7 @@ class WebRequestRulesRegistry : public RulesRegistry {
// |cache_delegate| can be NULL. In that case it constructs the registry with
// storage functionality suspended.
WebRequestRulesRegistry(Profile* profile,
- scoped_ptr<RulesCacheDelegate>* cache_delegate);
+ RulesCacheDelegate* cache_delegate);
// TODO(battre): This will become an implementation detail, because we need
// a way to also execute the actions of the rules.

Powered by Google App Engine
This is Rietveld 408576698