Home
last modified time | relevance | path

Searched refs:icon_mappings (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/browser/history/
Dthumbnail_database_unittest.cc423 std::vector<IconMapping> icon_mappings; in TEST_F() local
424 EXPECT_TRUE(db.GetIconMappingsForPageURL(page_url1, &icon_mappings)); in TEST_F()
425 ASSERT_EQ(1u, icon_mappings.size()); in TEST_F()
426 EXPECT_EQ(FAVICON, icon_mappings[0].icon_type); in TEST_F()
427 EXPECT_EQ(page_url1, icon_mappings[0].page_url); in TEST_F()
428 EXPECT_EQ(1, icon_mappings[0].icon_id); in TEST_F()
433 icon_mappings[0].icon_id, &time, &out_data, &out_icon_url)); in TEST_F()
438 icon_mappings.clear(); in TEST_F()
439 EXPECT_TRUE(db.GetIconMappingsForPageURL(page_url3, &icon_mappings)); in TEST_F()
440 ASSERT_EQ(1u, icon_mappings.size()); in TEST_F()
[all …]
Dhistory_backend.cc1615 std::vector<IconMapping> icon_mappings; in SetFaviconOutOfDateForPage() local
1619 &icon_mappings)) in SetFaviconOutOfDateForPage()
1622 for (std::vector<IconMapping>::iterator m = icon_mappings.begin(); in SetFaviconOutOfDateForPage()
1623 m != icon_mappings.end(); ++m) { in SetFaviconOutOfDateForPage()
1744 std::vector<IconMapping> icon_mappings; in GetFaviconForURL() local
1747 if (thumbnail_db_->GetIconMappingsForPageURL(page_url, &icon_mappings) && in GetFaviconForURL()
1748 (icon_mappings.front().icon_type & icon_types) && in GetFaviconForURL()
1749 thumbnail_db_->GetFavicon(icon_mappings.front().icon_id, &last_updated, in GetFaviconForURL()
1754 favicon.icon_type = icon_mappings.front().icon_type; in GetFaviconForURL()
1842 std::vector<IconMapping> icon_mappings; in AddOrUpdateIconMapping() local
[all …]
Dthumbnail_database.cc475 std::vector<IconMapping> icon_mappings; in GetIconMappingForPageURL() local
476 if (!GetIconMappingsForPageURL(page_url, &icon_mappings)) in GetIconMappingForPageURL()
479 for (std::vector<IconMapping>::iterator m = icon_mappings.begin(); in GetIconMappingForPageURL()
480 m != icon_mappings.end(); ++m) { in GetIconMappingForPageURL()
Dexpire_history_backend.cc415 std::vector<IconMapping> icon_mappings; in DeleteOneURL() local
416 if (thumb_db_->GetIconMappingsForPageURL(url_row.url(), &icon_mappings)) { in DeleteOneURL()
417 for (std::vector<IconMapping>::iterator m = icon_mappings.begin(); in DeleteOneURL()
418 m != icon_mappings.end(); ++m) { in DeleteOneURL()