Searched refs:rule_iterator (Results 1 – 9 of 9) sorted by relevance
/external/chromium_org/chrome/browser/content_settings/ |
D | content_settings_policy_provider_unittest.cc | 55 scoped_ptr<RuleIterator> rule_iterator( in TEST_F() local 60 EXPECT_FALSE(rule_iterator->HasNext()); in TEST_F() 66 rule_iterator.reset( in TEST_F() 71 EXPECT_TRUE(rule_iterator->HasNext()); in TEST_F() 72 Rule rule = rule_iterator->Next(); in TEST_F() 73 EXPECT_FALSE(rule_iterator->HasNext()); in TEST_F() 90 scoped_ptr<RuleIterator> rule_iterator( in TEST_F() local 95 EXPECT_TRUE(rule_iterator->HasNext()); in TEST_F() 96 Rule rule = rule_iterator->Next(); in TEST_F() 97 EXPECT_FALSE(rule_iterator->HasNext()); in TEST_F()
|
D | content_settings_origin_identifier_value_map_unittest.cc | 177 scoped_ptr<content_settings::RuleIterator> rule_iterator( in TEST() local 179 EXPECT_FALSE(rule_iterator->HasNext()); in TEST() 200 scoped_ptr<content_settings::RuleIterator> rule_iterator( in TEST() local 202 ASSERT_TRUE(rule_iterator->HasNext()); in TEST() 203 content_settings::Rule rule = rule_iterator->Next(); in TEST() 207 ASSERT_TRUE(rule_iterator->HasNext()); in TEST() 208 rule = rule_iterator->Next(); in TEST()
|
D | content_settings_utils.cc | 144 scoped_ptr<RuleIterator> rule_iterator( in GetContentSettingValueAndPatterns() local 147 rule_iterator.get(), primary_url, secondary_url, in GetContentSettingValueAndPatterns() 152 RuleIterator* rule_iterator, in GetContentSettingValueAndPatterns() argument 157 while (rule_iterator->HasNext()) { in GetContentSettingValueAndPatterns() 158 const Rule& rule = rule_iterator->Next(); in GetContentSettingValueAndPatterns()
|
D | content_settings_pref_provider.cc | 192 scoped_ptr<RuleIterator> rule_iterator( in ClearAllContentSettingsRules() local 195 while (rule_iterator->HasNext()) in ClearAllContentSettingsRules() 196 rules_to_delete.push_back(rule_iterator->Next()); in ClearAllContentSettingsRules() 311 scoped_ptr<RuleIterator> rule_iterator(GetRuleIterator( in MigrateObsoleteMediaContentSetting() local 313 while (rule_iterator->HasNext()) { in MigrateObsoleteMediaContentSetting() 315 const content_settings::Rule& rule = rule_iterator->Next(); in MigrateObsoleteMediaContentSetting()
|
D | host_content_settings_map.cc | 165 scoped_ptr<content_settings::RuleIterator> rule_iterator( in GetDefaultContentSettingFromProvider() local 169 while (rule_iterator->HasNext()) { in GetDefaultContentSettingFromProvider() 170 content_settings::Rule rule = rule_iterator->Next(); in GetDefaultContentSettingFromProvider() 492 scoped_ptr<content_settings::RuleIterator> rule_iterator( in AddSettingsForOneType() local 496 while (rule_iterator->HasNext()) { in AddSettingsForOneType() 497 const content_settings::Rule& rule = rule_iterator->Next(); in AddSettingsForOneType()
|
D | content_settings_utils.h | 48 RuleIterator* rule_iterator,
|
/external/chromium_org/chrome/browser/extensions/api/content_settings/ |
D | content_settings_store_unittest.cc | 54 scoped_ptr<content_settings::RuleIterator> rule_iterator ( in GetContentSettingFromStore() local 58 rule_iterator.get(), primary_url, secondary_url, NULL, NULL)); in GetContentSettingFromStore() 69 scoped_ptr<content_settings::RuleIterator> rule_iterator( in GetSettingsForOneTypeFromStore() local 71 while (rule_iterator->HasNext()) in GetSettingsForOneTypeFromStore() 72 rules->push_back(rule_iterator->Next()); in GetSettingsForOneTypeFromStore()
|
D | content_settings_store.cc | 256 scoped_ptr<RuleIterator> rule_iterator( in GetSettingsForExtension() local 260 while (rule_iterator->HasNext()) { in GetSettingsForExtension() 261 const Rule& rule = rule_iterator->Next(); in GetSettingsForExtension()
|
/external/chromium/chrome/browser/content_settings/ |
D | host_content_settings_map.cc | 239 for (const_rules_iterator rule_iterator = in GetSettingsForOneType() local 241 rule_iterator != content_settings_rules.end(); in GetSettingsForOneType() 242 ++rule_iterator) { in GetSettingsForOneType() 244 rule_iterator->requesting_url_pattern), in GetSettingsForOneType() 245 rule_iterator->content_setting)); in GetSettingsForOneType()
|