Home
last modified time | relevance | path

Searched refs:bitmap_results (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/chrome/browser/favicon/
Dfavicon_handler.cc65 const std::vector<favicon_base::FaviconRawBitmapResult>& bitmap_results) { in DoUrlsAndIconsMatch() argument
66 if (bitmap_results.empty()) in DoUrlsAndIconsMatch()
71 for (size_t i = 0; i < bitmap_results.size(); ++i) { in DoUrlsAndIconsMatch()
72 if (favicon_url.icon_url != bitmap_results[i].icon_url || in DoUrlsAndIconsMatch()
73 icon_type != bitmap_results[i].icon_type) { in DoUrlsAndIconsMatch()
105 const std::vector<favicon_base::FaviconRawBitmapResult>& bitmap_results) { in HasExpiredOrIncompleteResult() argument
108 std::find_if(bitmap_results.begin(), bitmap_results.end(), IsExpired); in HasExpiredOrIncompleteResult()
109 if (it != bitmap_results.end()) in HasExpiredOrIncompleteResult()
124 for (size_t i = 0; i < bitmap_results.size(); ++i) in HasExpiredOrIncompleteResult()
125 favicon_sizes.push_back(bitmap_results[i].pixel_size); in HasExpiredOrIncompleteResult()
[all …]
/external/chromium_org/chrome/browser/history/
Dhistory_backend.h227 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results);
239 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results);
244 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results);
251 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results);
Dhistory_backend.cc1570 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results) { in GetFavicons() argument
1572 bitmap_results); in GetFavicons()
1674 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results) { in GetFaviconsForURL() argument
1675 DCHECK(bitmap_results); in GetFaviconsForURL()
1676 GetFaviconsFromDB(page_url, icon_types, desired_sizes, bitmap_results); in GetFaviconsForURL()
1682 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results) { in GetFaviconForID() argument
1691 bitmap_results); in GetFaviconForID()
1699 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results) { in UpdateFaviconMappingsAndFetch() argument
1701 desired_sizes, bitmap_results); in UpdateFaviconMappingsAndFetch()
2001 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results) { in UpdateFaviconMappingsAndFetchImpl() argument
[all …]
Dhistory_backend_unittest.cc1781 std::vector<favicon_base::FaviconRawBitmapResult> bitmap_results; in TEST_F() local
1786 &bitmap_results); in TEST_F()
1859 std::vector<favicon_base::FaviconRawBitmapResult> bitmap_results; in TEST_F() local
1864 &bitmap_results); in TEST_F()
2196 std::vector<favicon_base::FaviconRawBitmapResult> bitmap_results; in TEST_F() local
2200 &bitmap_results); in TEST_F()
2202 EXPECT_EQ(2u, bitmap_results.size()); in TEST_F()
2203 const favicon_base::FaviconRawBitmapResult& first_result = bitmap_results[0]; in TEST_F()
2206 : bitmap_results[1]; in TEST_F()
2349 std::vector<favicon_base::FaviconRawBitmapResult> bitmap_results; in TEST_F() local
[all …]
Dhistory_service.cc74 std::vector<favicon_base::FaviconRawBitmapResult>* bitmap_results) { in RunWithFaviconResults() argument
75 callback.Run(*bitmap_results); in RunWithFaviconResults()
/external/chromium_org/chrome/browser/sync/glue/
Dfavicon_cache.cc621 const std::vector<favicon_base::FaviconRawBitmapResult>& bitmap_results) { in OnFaviconDataAvailable() argument
627 if (bitmap_results.size() == 0) { in OnFaviconDataAvailable()
636 for (size_t i = 0; i < bitmap_results.size(); ++i) { in OnFaviconDataAvailable()
638 bitmap_results[i]; in OnFaviconDataAvailable()
Dfavicon_cache_unittest.cc414 std::vector<favicon_base::FaviconRawBitmapResult> bitmap_results; in OnCustomFaviconDataAvailable() local
423 bitmap_results.push_back(bitmap_result); in OnCustomFaviconDataAvailable()
433 bitmap_results.push_back(bitmap_result); in OnCustomFaviconDataAvailable()
443 bitmap_results.push_back(bitmap_result); in OnCustomFaviconDataAvailable()
445 cache()->OnFaviconDataAvailable(test_data.page_url, bitmap_results); in OnCustomFaviconDataAvailable()