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

Unified Diff: chrome/browser/possible_url_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/possible_url_model.cc
diff --git a/chrome/browser/possible_url_model.cc b/chrome/browser/possible_url_model.cc
index 73e9b46fe51b705ae7b6c1c8636404528e28c50e..618d4f3281804f67bd7221aaff0c37b2f4f33c6c 100644
--- a/chrome/browser/possible_url_model.cc
+++ b/chrome/browser/possible_url_model.cc
@@ -163,7 +163,9 @@ SkBitmap PossibleURLModel::GetIcon(int row) {
if (favicon_service) {
CancelableRequestProvider::Handle h =
favicon_service->GetFaviconForURL(
- result.url, &consumer_,
+ result.url,
+ history::FAV_ICON,
+ &consumer_,
NewCallback(this, &PossibleURLModel::OnFavIconAvailable));
consumer_.SetClientData(favicon_service, h, result.index);
// Add an entry to the map so that we don't attempt to request the
@@ -187,7 +189,8 @@ void PossibleURLModel::OnFavIconAvailable(
bool fav_icon_available,
scoped_refptr<RefCountedMemory> data,
bool 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.
if (profile_) {
FaviconService* favicon_service =
profile_->GetFaviconService(Profile::EXPLICIT_ACCESS);

Powered by Google App Engine
This is Rietveld 408576698