Searched refs:rule_iterator (Results 1 – 8 of 8) sorted by relevance
55 scoped_ptr<RuleIterator> rule_iterator( in TEST_F() local60 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() local95 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()
177 scoped_ptr<content_settings::RuleIterator> rule_iterator( in TEST() local179 EXPECT_FALSE(rule_iterator->HasNext()); in TEST()200 scoped_ptr<content_settings::RuleIterator> rule_iterator( in TEST() local202 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()
147 scoped_ptr<RuleIterator> rule_iterator( in GetContentSettingValueAndPatterns() local150 rule_iterator.get(), primary_url, secondary_url, in GetContentSettingValueAndPatterns()155 RuleIterator* rule_iterator, in GetContentSettingValueAndPatterns() argument160 while (rule_iterator->HasNext()) { in GetContentSettingValueAndPatterns()161 const Rule& rule = rule_iterator->Next(); in GetContentSettingValueAndPatterns()
192 scoped_ptr<RuleIterator> rule_iterator( in ClearAllContentSettingsRules() local195 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() local313 while (rule_iterator->HasNext()) { in MigrateObsoleteMediaContentSetting()315 const content_settings::Rule& rule = rule_iterator->Next(); in MigrateObsoleteMediaContentSetting()
168 scoped_ptr<content_settings::RuleIterator> rule_iterator( in GetDefaultContentSettingFromProvider() local172 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() local511 while (rule_iterator->HasNext()) { in AddSettingsForOneType()512 const content_settings::Rule& rule = rule_iterator->Next(); in AddSettingsForOneType()
48 RuleIterator* rule_iterator,
55 scoped_ptr<content_settings::RuleIterator> rule_iterator( in GetContentSettingFromStore() local59 rule_iterator.get(), primary_url, secondary_url, NULL, NULL)); in GetContentSettingFromStore()70 scoped_ptr<content_settings::RuleIterator> rule_iterator( in GetSettingsForOneTypeFromStore() local72 while (rule_iterator->HasNext()) in GetSettingsForOneTypeFromStore()73 rules->push_back(rule_iterator->Next()); in GetSettingsForOneTypeFromStore()
256 scoped_ptr<RuleIterator> rule_iterator( in GetSettingsForExtension() local260 while (rule_iterator->HasNext()) { in GetSettingsForExtension()261 const Rule& rule = rule_iterator->Next(); in GetSettingsForExtension()