Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7120)

Unified Diff: chrome/browser/history/history_backend.h

Issue 26563004: Find Favicon in priority of icon_type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/history/history_backend.h
diff --git a/chrome/browser/history/history_backend.h b/chrome/browser/history/history_backend.h
index f3bbf4d9ebe943189c1f474a278211ef77a83d2d..d7b97dc6b931c85c35c31d03d847aa37cb64cb1e 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -244,9 +244,10 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
void GetFaviconsForURL(
const GURL& page_url,
- int icon_types,
+ const std::vector<int>& icon_types_priority,
sky 2013/10/08 23:47:52 icon_types_priority->icon_types
michaelbai 2013/10/10 05:51:43 As element of the list could be a composition of i
sky 2013/10/10 20:35:12 I don't get this. Why do we need the ability to su
michaelbai 2013/10/10 22:39:58 The use case is we want use favicon first if it is
int desired_size_in_dip,
const std::vector<ui::ScaleFactor>& desired_scale_factors,
+ int threshold_for_next_icon_types,
std::vector<chrome::FaviconBitmapResult>* bitmap_results);
void GetFaviconForID(

Powered by Google App Engine
This is Rietveld 408576698