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

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

Issue 10870022: Change FaviconData to be able to return data for multiple bitmaps for same icon URL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 6d50cc18f68ebc0dcb8f6be4751bcbb7353e24af..d493d4b5e86a2bd18af720aeabeab673a126a91c 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -649,13 +649,16 @@ class HistoryBackend : public base::RefCountedThreadSafe<HistoryBackend>,
// If there is a favicon for |page_url| and one of the types in |icon_types|,
// |favicon| is set appropriately and true is returned.
- bool GetFaviconFromDB(const GURL& page_url,
- int icon_types,
- FaviconData* favicon);
+ bool GetFaviconFromDB(
+ const GURL& page_url,
+ int icon_types,
+ std::vector<FaviconBitmapResult>* favicon_bitmap_results);
// Get favicon by the given |favicon_id|, the |favicon| is set appropriately
// and true if returned on success, otherwise false is returned.
- bool GetFaviconFromDB(FaviconID favicon_id, FaviconData* favicon);
+ bool GetFaviconFromDB(
+ FaviconID favicon_id,
+ std::vector<FaviconBitmapResult>* favicon_bitmap_results);
// Notify any observers of an addition to the visit database.
void NotifyVisitObservers(const VisitRow& visit);

Powered by Google App Engine
This is Rietveld 408576698