Index: extensions/browser/api/declarative_webrequest/webrequest_rules_registry.cc |
diff --git a/extensions/browser/api/declarative_webrequest/webrequest_rules_registry.cc b/extensions/browser/api/declarative_webrequest/webrequest_rules_registry.cc |
index 6af74acc876bdc1912b554ecd1443695667161aa..ef709b28aa2d4ecdba4a26be3b1d2a5aed281270 100644 |
--- a/extensions/browser/api/declarative_webrequest/webrequest_rules_registry.cc |
+++ b/extensions/browser/api/declarative_webrequest/webrequest_rules_registry.cc |
@@ -151,7 +151,7 @@ std::list<LinkedPtrEventResponseDelta> WebRequestRulesRegistry::CreateDeltas( |
std::string WebRequestRulesRegistry::AddRulesImpl( |
const std::string& extension_id, |
- const std::vector<linked_ptr<core_api::events::Rule>>& rules) { |
+ const std::vector<linked_ptr<api::events::Rule>>& rules) { |
typedef std::pair<WebRequestRule::RuleId, linked_ptr<const WebRequestRule>> |
IdRulePair; |
typedef std::vector<IdRulePair> RulesVector; |
@@ -166,7 +166,7 @@ std::string WebRequestRulesRegistry::AddRulesImpl( |
extension_info_map_->extensions().GetByID(extension_id); |
RulesMap& registered_rules = webrequest_rules_[extension_id]; |
- for (const linked_ptr<core_api::events::Rule>& rule : rules) { |
+ for (const linked_ptr<api::events::Rule>& rule : rules) { |
const WebRequestRule::RuleId& rule_id(*rule->id); |
DCHECK(registered_rules.find(rule_id) == registered_rules.end()); |