Home
last modified time | relevance | path

Searched refs:AddIconMapping (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/history/
Dthumbnail_database_unittest.cc139 TEST_F(ThumbnailDatabaseTest, AddIconMapping) { in TEST_F() argument
153 EXPECT_NE(0, db.AddIconMapping(url, id)); in TEST_F()
174 EXPECT_TRUE(0 < db.AddIconMapping(url, id)); in TEST_F()
205 EXPECT_TRUE(0 < db.AddIconMapping(url, id)); in TEST_F()
209 EXPECT_TRUE(0 < db.AddIconMapping(url, id2)); in TEST_F()
237 EXPECT_TRUE(0 < db.AddIconMapping(url, id1)); in TEST_F()
242 EXPECT_TRUE(0 < db.AddIconMapping(url, id2)); in TEST_F()
282 EXPECT_TRUE(0 < db.AddIconMapping(url, id)); in TEST_F()
328 EXPECT_NE(0, db.AddIconMapping(url, id)); in TEST_F()
342 EXPECT_NE(0, db.AddIconMapping(url, id2)); in TEST_F()
[all …]
Dthumbnail_database.h150 IconMappingID AddIconMapping(const GURL& page_url, FaviconID icon_id);
269 IconMappingID AddIconMapping(const GURL& page_url,
Dthumbnail_database.cc519 IconMappingID ThumbnailDatabase::AddIconMapping(const GURL& page_url, in AddIconMapping() function in history::ThumbnailDatabase
521 return AddIconMapping(page_url, icon_id, false); in AddIconMapping()
565 if (!AddIconMapping(info.page_url, info.icon_id)) in MigrateIconMappingData()
573 return AddIconMapping(page_url, icon_id, true); in AddToTemporaryIconMappingTable()
723 IconMappingID ThumbnailDatabase::AddIconMapping(const GURL& page_url, in AddIconMapping() function in history::ThumbnailDatabase
Dhistory_backend_unittest.cc238 backend_->thumbnail_db_->AddIconMapping(row1.url(), favicon1); in TEST_F()
243 backend_->thumbnail_db_->AddIconMapping(row2.url(), favicon2); in TEST_F()
371 EXPECT_TRUE(backend_->thumbnail_db_->AddIconMapping(row1.url(), favicon1)); in TEST_F()
376 EXPECT_TRUE(backend_->thumbnail_db_->AddIconMapping(row2.url(), favicon2)); in TEST_F()
534 EXPECT_TRUE(backend_->thumbnail_db_->AddIconMapping(row1.url(), favicon1)); in TEST_F()
Dexpire_history_backend_unittest.cc213 thumb_db_->AddIconMapping(url_row1.url(), favicon1); in AddExampleData()
220 thumb_db_->AddIconMapping(url_row2.url(), favicon1); in AddExampleData()
226 thumb_db_->AddIconMapping(url_row3.url(), favicon2); in AddExampleData()
435 thumb_db_->AddIconMapping(row.url(), icon_id); in TEST_F()
Dhistory_backend.cc1670 thumbnail_db_->AddIconMapping(*url, favicon_id); in SetImportedFavicons()
1677 thumbnail_db_->AddIconMapping(*url, favicon_id); in SetImportedFavicons()
1845 thumbnail_db_->AddIconMapping(page_url, id); in AddOrUpdateIconMapping()
1870 thumbnail_db_->AddIconMapping(page_url, id); in AddOrUpdateIconMapping()