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

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

Issue 7046049: Restore favicons to chrome://extensions and chrome://bookmarks page (among probably other things). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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.cc
===================================================================
--- chrome/browser/history/history_backend.cc (revision 88118)
+++ chrome/browser/history/history_backend.cc (working copy)
@@ -1716,6 +1716,7 @@
favicon.expired = (Time::Now() - last_updated) >
TimeDelta::FromDays(kFaviconRefetchDays);
favicon.image_data = data;
+ favicon.icon_type = history::FAVICON;
michaelbai 2011/06/09 15:49:44 The favicon.icon_type should be returned from line
}
if (page_url)
@@ -1753,6 +1754,7 @@
TimeDelta::FromDays(kFaviconRefetchDays);
favicon.icon_type = icon_mappings.front().icon_type;
favicon.image_data = data;
+ favicon.icon_type = history::FAVICON;
michaelbai 2011/06/09 15:49:44 The favicon.icon_type should be set in line 1755.
Finnur 2011/06/09 16:01:57 Ah, yes. You are right. I'll remove this file enti
}
UMA_HISTOGRAM_TIMES("History.GetFavIconForURL", // historical name
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chrome_web_ui_factory.cc » ('j') | chrome/browser/ui/webui/chrome_web_ui_factory.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698