Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_policy_provider_unittest.cc55 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()
Dcontent_settings_origin_identifier_value_map_unittest.cc177 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()
Dcontent_settings_utils.cc147 scoped_ptr<RuleIterator> rule_iterator( in GetContentSettingValueAndPatterns() local
150 rule_iterator.get(), primary_url, secondary_url, in GetContentSettingValueAndPatterns()
155 RuleIterator* rule_iterator, in GetContentSettingValueAndPatterns() argument
160 while (rule_iterator->HasNext()) { in GetContentSettingValueAndPatterns()
161 const Rule& rule = rule_iterator->Next(); in GetContentSettingValueAndPatterns()
Dcontent_settings_pref_provider.cc192 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()
Dhost_content_settings_map.cc168 scoped_ptr<content_settings::RuleIterator> rule_iterator( in GetDefaultContentSettingFromProvider() local
172 while (rule_iterator->HasNext()) { in GetDefaultContentSettingFromProvider()
173 content_settings::Rule rule = rule_iterator->Next(); in GetDefaultContentSettingFromProvider()
507 scoped_ptr<content_settings::RuleIterator> rule_iterator( in AddSettingsForOneType() local
511 while (rule_iterator->HasNext()) { in AddSettingsForOneType()
512 const content_settings::Rule& rule = rule_iterator->Next(); in AddSettingsForOneType()
Dcontent_settings_utils.h48 RuleIterator* rule_iterator,
/external/chromium_org/chrome/browser/extensions/api/content_settings/
Dcontent_settings_store_unittest.cc55 scoped_ptr<content_settings::RuleIterator> rule_iterator( in GetContentSettingFromStore() local
59 rule_iterator.get(), primary_url, secondary_url, NULL, NULL)); in GetContentSettingFromStore()
70 scoped_ptr<content_settings::RuleIterator> rule_iterator( in GetSettingsForOneTypeFromStore() local
72 while (rule_iterator->HasNext()) in GetSettingsForOneTypeFromStore()
73 rules->push_back(rule_iterator->Next()); in GetSettingsForOneTypeFromStore()
Dcontent_settings_store.cc256 scoped_ptr<RuleIterator> rule_iterator( in GetSettingsForExtension() local
260 while (rule_iterator->HasNext()) { in GetSettingsForExtension()
261 const Rule& rule = rule_iterator->Next(); in GetSettingsForExtension()