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

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 01adce5e9abc5eb33b80bb487290c2418deccee9..1bea48930eee146b956f0d45b60b95d3b51c673b 100644
--- a/chrome/browser/history/history_backend.h
+++ b/chrome/browser/history/history_backend.h
@@ -650,13 +650,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