/external/chromium_org/chrome/utility/importer/ |
bookmarks_file_importer.cc | 89 std::vector<ImportedFaviconUsage> favicons; local 96 &favicons); local 103 if (!favicons.empty()) 104 bridge->SetFavicons(favicons);
|
firefox_importer.cc | 119 // will also import favicons and we store favicon for a URL only if the URL 332 std::vector<ImportedFaviconUsage> favicons; local 333 LoadFavicons(&db, favicon_map, &favicons); 334 bridge_->SetFavicons(favicons); 574 std::vector<ImportedFaviconUsage>* favicons) { 589 continue; // Don't bother importing favicons with invalid URLs. 600 favicons->push_back(usage);
|
ie_importer_win.cc | 460 std::vector<ImportedFaviconUsage> favicons; local 461 ParseFavoritesFolder(info, &bookmarks, &favicons); 468 if (!favicons.empty() && !cancelled()) 469 bridge_->SetFavicons(favicons); 794 std::vector<ImportedFaviconUsage>* favicons) { 870 favicons->push_back(iter->second);
|
/external/chromium/chrome/browser/bookmarks/ |
bookmark_html_writer_unittest.cc | 225 std::vector<history::ImportedFaviconUsage> favicons; local 233 &favicons); 236 EXPECT_EQ(3U, favicons.size()); 237 for (size_t i = 0; i < favicons.size(); i++) { 238 if (url1_favicon == favicons[i].favicon_url) { 239 EXPECT_EQ(1U, favicons[i].urls.size()); 240 std::set<GURL>::const_iterator iter = favicons[i].urls.find(url1); 241 ASSERT_TRUE(iter != favicons[i].urls.end()); 243 ASSERT_TRUE(favicons[i].png_data == icon_data);
|
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_html_writer_unittest.cc | 240 std::vector<ImportedFaviconUsage> favicons; local 245 &favicons); local 248 EXPECT_EQ(4U, favicons.size()); 249 for (size_t i = 0; i < favicons.size(); i++) { 250 if (url1_favicon == favicons[i].favicon_url) { 251 EXPECT_EQ(1U, favicons[i].urls.size()); 252 std::set<GURL>::const_iterator iter = favicons[i].urls.find(url1); 253 ASSERT_TRUE(iter != favicons[i].urls.end()); 255 ASSERT_TRUE(favicons[i].png_data == icon_data);
|
/external/chromium/chrome/browser/history/ |
thumbnail_database.cc | 132 // Thumbnails db now only stores favicons, so we don't need that big a page 197 const char* name = is_temporary ? "temp_favicons" : "favicons"; 220 db_.Execute("CREATE INDEX favicons_url ON favicons(url)"); 369 "UPDATE favicons SET image_data=?, last_updated=? WHERE id=?")); 380 "UPDATE favicons SET image_data=NULL, last_updated=? WHERE id=?")); 393 "UPDATE favicons SET last_updated=? WHERE id=?")); 406 "SELECT id, icon_type FROM favicons WHERE url=? AND (icon_type & ? > 0) " 429 "SELECT last_updated, image_data, url FROM favicons WHERE id=?")); 451 "INSERT INTO favicons (url, icon_type) VALUES (?, ?)")); 464 "DELETE FROM favicons WHERE id = ?")) 627 sql::Connection favicons; local [all...] |
history_backend_unittest.cc | 213 // Add two favicons, use the characters '1' and '2' for the image data. Note 246 rows.push_back(row2); // Reversed order for the same reason as favicons. 379 rows.push_back(row2); // Reversed order for the same reason as favicons. 552 std::vector<history::ImportedFaviconUsage> favicons; local 558 favicons.push_back(favicon); 559 backend_->SetImportedFavicons(favicons); 570 favicons.clear(); 574 favicons.push_back(favicon); 575 backend_->SetImportedFavicons(favicons); 582 backend_->SetImportedFavicons(favicons); [all...] |
/external/chromium/chrome/browser/importer/ |
firefox2_importer.cc | 66 // will also import favicons and we store favicon for a URL only if the URL 156 std::vector<history::ImportedFaviconUsage>* favicons) { 231 if (favicons) 232 DataURLToFaviconUsage(url, favicon, favicons); 304 std::vector<history::ImportedFaviconUsage> favicons; local 314 &favicons); 331 if (!favicons.empty()) { 332 bridge_->SetFavicons(favicons); 655 std::vector<history::ImportedFaviconUsage>* favicons) { 678 favicons->push_back(usage) [all...] |
firefox3_importer.cc | 82 // will also import favicons and we store favicon for a URL only if the URL 305 std::vector<history::ImportedFaviconUsage> favicons; local 306 LoadFavicons(&db, favicon_map, &favicons); 307 bridge_->SetFavicons(favicons); 557 std::vector<history::ImportedFaviconUsage>* favicons) { 571 continue; // Don't bother importing favicons with invalid URLs. 582 favicons->push_back(usage);
|
/external/chromium_org/chrome/browser/history/ |
thumbnail_database.cc | 42 // page_url Page URL which has one or more associated favicons. 45 // favicons This table associates a row to each favicon for a 47 // default favicon |page_url|/favicon.ico plus any favicons 59 // favicons. There is a separate row for every size in a 62 // the |id| field in the appropriate row in the |favicons| 370 if (!db_.DoesColumnExist("favicons", "icon_type")) { 384 if (cur_version < 7 && !db_.DoesColumnExist("favicons", "sizes")) { 413 // Raze the database if the structure of the favicons database is not what 440 // Thumbnails db now only stores favicons, so we don't need that big a page 457 db_.GetCachedStatement(SQL_FROM_HERE, "SELECT COUNT(*) FROM favicons")); 1166 sql::Connection favicons; local [all...] |
history_backend_unittest.cc | 458 // Add two favicons, each with two bitmaps. Note that we add favicon2 before 497 rows.push_back(row2); // Reversed order for the same reason as favicons. 687 rows.push_back(row2); // Reversed order for the same reason as favicons. 866 std::vector<ImportedFaviconUsage> favicons; local 872 favicons.push_back(favicon); 873 backend_->SetImportedFavicons(favicons); 893 favicons.clear(); [all...] |