| Index: chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.h
|
| diff --git a/chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.h b/chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.h
|
| index e6f63434d87f451230ea0bd2e86ef55853251a2f..a96c42a60dcad907f6aeb7544bdb9932d14b812f 100644
|
| --- a/chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.h
|
| +++ b/chrome/browser/extensions/api/declarative_content/chrome_content_rules_registry.h
|
| @@ -50,7 +50,7 @@ namespace extensions {
|
| //
|
| // Here is the high level overview of this functionality:
|
| //
|
| -// core_api::events::Rule consists of conditions and actions, these are
|
| +// api::events::Rule consists of conditions and actions, these are
|
| // represented as a ContentRule with ContentConditions and ContentRuleActions.
|
| //
|
| // The evaluation of URL related condition attributes (host_suffix, path_prefix)
|
| @@ -84,7 +84,7 @@ class ChromeContentRulesRegistry
|
| // RulesRegistry:
|
| std::string AddRulesImpl(
|
| const std::string& extension_id,
|
| - const std::vector<linked_ptr<core_api::events::Rule>>& rules) override;
|
| + const std::vector<linked_ptr<api::events::Rule>>& rules) override;
|
| std::string RemoveRulesImpl(
|
| const std::string& extension_id,
|
| const std::vector<std::string>& rule_identifiers) override;
|
| @@ -156,10 +156,9 @@ class ChromeContentRulesRegistry
|
| // and ContentAction. |extension| may be NULL in tests. If |error| is empty,
|
| // the translation was successful and the returned rule is internally
|
| // consistent.
|
| - scoped_ptr<const ContentRule> CreateRule(
|
| - const Extension* extension,
|
| - const core_api::events::Rule& api_rule,
|
| - std::string* error);
|
| + scoped_ptr<const ContentRule> CreateRule(const Extension* extension,
|
| + const api::events::Rule& api_rule,
|
| + std::string* error);
|
|
|
| // True if this object is managing the rules for |context|.
|
| bool ManagingRulesForBrowserContext(content::BrowserContext* context);
|
|
|