Searched refs:favicon_id (Results 1 – 3 of 3) sorted by relevance
/external/chromium/chrome/browser/history/ |
D | expire_history_backend_unittest.cc | 68 bool HasFavicon(FaviconID favicon_id); 313 bool ExpireHistoryTest::HasFavicon(FaviconID favicon_id) { in HasFavicon() argument 314 if (!thumb_db_.get() || favicon_id == 0) in HasFavicon() 319 return thumb_db_->GetFavicon(favicon_id, &last_updated, &icon_data_unused, in HasFavicon() 463 FaviconID favicon_id = GetFavicon(last_row.url(), FAVICON); in TEST_F() local 464 EXPECT_TRUE(HasFavicon(favicon_id)); in TEST_F() 514 EXPECT_FALSE(HasFavicon(favicon_id)); in TEST_F() 527 FaviconID favicon_id = GetFavicon(last_row.url(), FAVICON); in TEST_F() local 528 EXPECT_TRUE(HasFavicon(favicon_id)); in TEST_F() 542 EXPECT_TRUE(HasFavicon(favicon_id)); in TEST_F() [all …]
|
D | history_backend.cc | 1640 FaviconID favicon_id = thumbnail_db_->GetFaviconIDForFaviconURL( in SetImportedFavicons() local 1642 if (!favicon_id) { in SetImportedFavicons() 1644 favicon_id = thumbnail_db_->AddFavicon(favicon_usage[i].favicon_url, in SetImportedFavicons() 1646 if (!favicon_id) in SetImportedFavicons() 1648 thumbnail_db_->SetFavicon(favicon_id, in SetImportedFavicons() 1670 thumbnail_db_->AddIconMapping(*url, favicon_id); in SetImportedFavicons() 1677 thumbnail_db_->AddIconMapping(*url, favicon_id); in SetImportedFavicons() 1707 const FaviconID favicon_id = in UpdateFaviconMappingAndFetchImpl() local 1710 if (favicon_id) { in UpdateFaviconMappingAndFetchImpl() 1714 if (thumbnail_db_->GetFavicon(favicon_id, &last_updated, &data->data, in UpdateFaviconMappingAndFetchImpl() [all …]
|
D | expire_history_backend.h | 202 void DeleteFaviconsIfPossible(const std::set<FaviconID>& favicon_id);
|