Index: chrome/browser/extensions/api/declarative_content/content_rules_registry.h |
diff --git a/chrome/browser/extensions/api/declarative_content/content_rules_registry.h b/chrome/browser/extensions/api/declarative_content/content_rules_registry.h |
index 38e8cc01d6c3eb7bb28524f85b49d6aaed5b9f04..c3f62f2f3bfbb5b33d2e6b49f0d1212c1735c7e4 100644 |
--- a/chrome/browser/extensions/api/declarative_content/content_rules_registry.h |
+++ b/chrome/browser/extensions/api/declarative_content/content_rules_registry.h |
@@ -64,8 +64,7 @@ class ContentRulesRegistry : public RulesRegistry, |
public: |
// For testing, |ui_part| can be NULL. In that case it constructs the |
// registry with storage functionality suspended. |
- ContentRulesRegistry(Profile* profile, |
- scoped_ptr<RulesCacheDelegate>* ui_part); |
+ ContentRulesRegistry(Profile* profile, RulesCacheDelegate* cache_delegate); |
// Applies all content rules given an update (CSS match change or |
// page navigation, for now) from the renderer. |
@@ -121,8 +120,6 @@ class ContentRulesRegistry : public RulesRegistry, |
typedef std::map<ContentRule::GlobalRuleId, linked_ptr<ContentRule> > |
RulesMap; |
- Profile* const profile_; |
- |
// Map that tells us which ContentRules may match under the condition that |
// the URLMatcherConditionSet::ID was returned by the |url_matcher_|. |
URLMatcherIdToRule match_id_to_rule_; |