Home
last modified time | relevance | path

Searched refs:rule_id (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/chrome/browser/extensions/api/declarative_webrequest/
Dwebrequest_rules_registry.cc112 const WebRequestRule::GlobalRuleId& rule_id = i->second; in CreateDeltas() local
113 const ExtensionId& extension_id = rule_id.first; in CreateDeltas()
122 const WebRequestRule::GlobalRuleId& rule_id = i->second; in CreateDeltas() local
123 const ExtensionId& extension_id = rule_id.first; in CreateDeltas()
125 webrequest_rules_[rule_id.first][rule_id.second].get(); in CreateDeltas()
179 const WebRequestRule::RuleId& rule_id(*(*rule)->id); in AddRulesImpl() local
180 DCHECK(registered_rules.find(rule_id) == registered_rules.end()); in AddRulesImpl()
194 IdRulePair(rule_id, make_linked_ptr(webrequest_rule.release()))); in AddRulesImpl()
Dwebrequest_rules_registry_unittest.cc209 const char* rule_id, in CreateCancellingRule() argument
215 rule->id.reset(new std::string(rule_id)); in CreateCancellingRule()
/external/chromium_org/chrome/browser/extensions/api/declarative/
Drules_registry.cc107 const RuleId& rule_id = *((*i)->id); in AddRulesNoFill() local
110 RulesDictionaryKey key(extension_id, rule_id); in AddRulesNoFill()
112 return base::StringPrintf(kDuplicateRuleId, rule_id.c_str()); in AddRulesNoFill()
123 const RuleId& rule_id = *((*i)->id); in AddRulesNoFill() local
124 RulesDictionaryKey key(extension_id, rule_id); in AddRulesNoFill()
314 const std::string& rule_id) const { in IsUniqueId()
319 return identifiers->second.find(rule_id) == identifiers->second.end(); in IsUniqueId()
Drules_registry_with_cache_unittest.cc69 const std::string& rule_id, in AddRule() argument
73 add_rules[0]->id.reset(new std::string(rule_id)); in AddRule()
78 const std::string& rule_id) { in AddRule() argument
79 return AddRule(extension_id, rule_id, registry_.get()); in AddRule()
83 const std::string& rule_id) { in RemoveRule() argument
85 remove_rules.push_back(rule_id); in RemoveRule()
Ddeclarative_rule.h469 GlobalRuleId rule_id(extension->id(), *(rule->id)); in Create()
472 new DeclarativeRule(rule_id, tags, extension_installation_time, in Create()
Drules_registry.h262 const std::string& rule_id) const;
/external/chromium_org/chrome/browser/extensions/api/declarative_content/
Dcontent_rules_registry.cc154 ContentRule::GlobalRuleId rule_id(extension_id, *(*rule)->id); in AddRulesImpl() local
155 DCHECK(content_rules_.find(rule_id) == content_rules_.end()); in AddRulesImpl()
171 new_content_rules[rule_id] = make_linked_ptr(content_rule.release()); in AddRulesImpl()
210 ContentRule::GlobalRuleId rule_id(extension_id, *i); in RemoveRulesImpl() local
213 RulesMap::iterator content_rules_entry = content_rules_.find(rule_id); in RemoveRulesImpl()
/external/chromium_org/components/onc/docs/
Donc_spec.css36 .rule_id {
42 .rule_id:before {