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()
175 scoped_ptr<content_settings::RuleIterator> rule_iterator( in TEST() local177 EXPECT_FALSE(rule_iterator->HasNext()); in TEST()198 scoped_ptr<content_settings::RuleIterator> rule_iterator( in TEST() local200 ASSERT_TRUE(rule_iterator->HasNext()); in TEST()201 content_settings::Rule rule = rule_iterator->Next(); in TEST()205 ASSERT_TRUE(rule_iterator->HasNext()); in TEST()206 rule = rule_iterator->Next(); in TEST()
193 scoped_ptr<RuleIterator> rule_iterator( in GetContentSettingValueAndPatterns() local196 rule_iterator.get(), primary_url, secondary_url, in GetContentSettingValueAndPatterns()201 RuleIterator* rule_iterator, in GetContentSettingValueAndPatterns() argument206 while (rule_iterator->HasNext()) { in GetContentSettingValueAndPatterns()207 const Rule& rule = rule_iterator->Next(); in GetContentSettingValueAndPatterns()
193 scoped_ptr<RuleIterator> rule_iterator( in ClearAllContentSettingsRules() local196 while (rule_iterator->HasNext()) in ClearAllContentSettingsRules()197 rules_to_delete.push_back(rule_iterator->Next()); in ClearAllContentSettingsRules()313 scoped_ptr<RuleIterator> rule_iterator(GetRuleIterator( in MigrateObsoleteMediaContentSetting() local315 while (rule_iterator->HasNext()) { in MigrateObsoleteMediaContentSetting()317 const content_settings::Rule& rule = rule_iterator->Next(); in MigrateObsoleteMediaContentSetting()
149 scoped_ptr<content_settings::RuleIterator> rule_iterator( in GetDefaultContentSettingFromProvider() local153 while (rule_iterator->HasNext()) { in GetDefaultContentSettingFromProvider()154 content_settings::Rule rule = rule_iterator->Next(); in GetDefaultContentSettingFromProvider()646 scoped_ptr<content_settings::RuleIterator> rule_iterator( in AddSettingsForOneType() local650 while (rule_iterator->HasNext()) { in AddSettingsForOneType()651 const content_settings::Rule& rule = rule_iterator->Next(); in AddSettingsForOneType()
55 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()