Searched refs:current_candidate (Results 1 – 6 of 6) sorted by relevance
/external/chromium/chrome/browser/ |
D | favicon_helper.cc | 190 if (current_candidate()->icon_type == FaviconURL::FAVICON) { in OnUpdateFaviconURL() 192 DoUrlAndIconMatch(*current_candidate(), entry->favicon().url(), in OnUpdateFaviconURL() 196 entry->favicon().set_url(current_candidate()->icon_url); in OnUpdateFaviconURL() 200 *current_candidate(), in OnUpdateFaviconURL() 206 DownloadFaviconOrAskHistory(entry->url(), current_candidate()->icon_url, in OnUpdateFaviconURL() 207 ToHistoryIconType(current_candidate()->icon_type)); in OnUpdateFaviconURL() 292 } else if (current_candidate() && in OnDidDownloadFavicon() 293 DoUrlAndIconMatch(*current_candidate(), image_url, in OnDidDownloadFavicon() 323 (!current_candidate() || in OnFaviconDataForInitialURL() 325 *current_candidate(), favicon.icon_url, favicon.icon_type))) { in OnFaviconDataForInitialURL() [all …]
|
D | favicon_helper_unittest.cc | 173 FaviconURL* current_candidate() { in current_candidate() function in TestFaviconHelper 174 return FaviconHelper::current_candidate(); in current_candidate() 315 ASSERT_TRUE(helper.current_candidate()); in TEST_F() 316 ASSERT_EQ(icon_url, helper.current_candidate()->icon_url); in TEST_F() 317 ASSERT_EQ(FaviconURL::FAVICON, helper.current_candidate()->icon_type); in TEST_F() 356 ASSERT_TRUE(helper.current_candidate()); in TEST_F() 357 ASSERT_EQ(icon_url, helper.current_candidate()->icon_url); in TEST_F() 358 ASSERT_EQ(FaviconURL::FAVICON, helper.current_candidate()->icon_type); in TEST_F() 428 ASSERT_TRUE(helper.current_candidate()); in TEST_F() 429 ASSERT_EQ(new_icon_url, helper.current_candidate()->icon_url); in TEST_F() [all …]
|
D | favicon_helper.h | 212 FaviconURL* current_candidate() { in current_candidate() function
|
/external/chromium_org/chrome/browser/favicon/ |
D | favicon_handler.cc | 364 if (current_candidate()->icon_type == FaviconURL::FAVICON) { in ProcessCurrentUrl() 366 DoUrlAndIconMatch(*current_candidate(), entry->GetFavicon().url, in ProcessCurrentUrl() 371 DoUrlsAndIconsMatch(*current_candidate(), history_results_)) { in ProcessCurrentUrl() 376 DownloadFaviconOrAskHistory(entry->GetURL(), current_candidate()->icon_url, in ProcessCurrentUrl() 377 ToHistoryIconType(current_candidate()->icon_type)); in ProcessCurrentUrl() 392 if (current_candidate() && in OnDidDownloadFavicon() 393 DoUrlAndIconMatch(*current_candidate(), image_url, i->second.icon_type)) { in OnDidDownloadFavicon() 518 (!current_candidate() || in OnFaviconDataForInitialURL() 519 DoUrlsAndIconsMatch(*current_candidate(), favicon_bitmap_results))) { in OnFaviconDataForInitialURL() 535 if (current_candidate() && in OnFaviconDataForInitialURL() [all …]
|
D | favicon_handler_unittest.cc | 251 FaviconURL* current_candidate() { in current_candidate() function in TestFaviconHandler 252 return FaviconHandler::current_candidate(); in current_candidate() 468 ASSERT_TRUE(helper.current_candidate()); in TEST_F() 469 ASSERT_EQ(icon_url, helper.current_candidate()->icon_url); in TEST_F() 470 ASSERT_EQ(FaviconURL::FAVICON, helper.current_candidate()->icon_type); in TEST_F() 510 ASSERT_TRUE(helper.current_candidate()); in TEST_F() 511 ASSERT_EQ(icon_url, helper.current_candidate()->icon_url); in TEST_F() 512 ASSERT_EQ(FaviconURL::FAVICON, helper.current_candidate()->icon_type); in TEST_F() 582 ASSERT_TRUE(helper.current_candidate()); in TEST_F() 583 ASSERT_EQ(new_icon_url, helper.current_candidate()->icon_url); in TEST_F() [all …]
|
D | favicon_handler.h | 241 content::FaviconURL* current_candidate() { in current_candidate() function
|