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

Unified Diff: chrome/browser/custom_home_pages_table_model.cc

Issue 6651014: Applied the IconType. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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/custom_home_pages_table_model.cc
diff --git a/chrome/browser/custom_home_pages_table_model.cc b/chrome/browser/custom_home_pages_table_model.cc
index 9f50616424f5283d90faafc12688d5314cca0cd1..54d360932eecbdee3f31a57f3e23c3d1c634fa9f 100644
--- a/chrome/browser/custom_home_pages_table_model.cc
+++ b/chrome/browser/custom_home_pages_table_model.cc
@@ -163,7 +163,9 @@ void CustomHomePagesTableModel::LoadTitleAndFavIcon(Entry* entry) {
FaviconService* favicon_service =
profile_->GetFaviconService(Profile::EXPLICIT_ACCESS);
if (favicon_service) {
- entry->fav_icon_handle = favicon_service->GetFaviconForURL(entry->url,
+ entry->fav_icon_handle = favicon_service->GetFaviconForURL(
+ entry->url,
+ history::FAV_ICON,
&query_consumer_,
NewCallback(this, &CustomHomePagesTableModel::OnGotFavIcon));
}
@@ -193,7 +195,8 @@ void CustomHomePagesTableModel::OnGotFavIcon(
bool know_fav_icon,
scoped_refptr<RefCountedMemory> image_data,
bool is_expired,
- GURL icon_url) {
+ GURL icon_url,
+ history::IconType) {
sky 2011/03/09 21:41:08 include name
michaelbai 2011/03/09 23:11:45 Done.
michaelbai 2011/03/09 23:11:45 Done.
int entry_index;
Entry* entry =
GetEntryByLoadHandle(&Entry::fav_icon_handle, handle, &entry_index);

Powered by Google App Engine
This is Rietveld 408576698