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

Unified Diff: chrome/browser/ui/webui/extension_icon_source.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/ui/webui/extension_icon_source.cc
diff --git a/chrome/browser/ui/webui/extension_icon_source.cc b/chrome/browser/ui/webui/extension_icon_source.cc
index 321cd55a7abc01d99a8b5c68c04aa8beb5a28426..c41f74588ce513a5bac3e8f6613bc2edddd2c2d3 100644
--- a/chrome/browser/ui/webui/extension_icon_source.cc
+++ b/chrome/browser/ui/webui/extension_icon_source.cc
@@ -200,7 +200,9 @@ void ExtensionIconSource::LoadFaviconImage(int request_id) {
GURL favicon_url = GetData(request_id)->extension->GetFullLaunchURL();
FaviconService::Handle handle = favicon_service->GetFaviconForURL(
- favicon_url, &cancelable_consumer_,
+ favicon_url,
+ history::FAV_ICON,
+ &cancelable_consumer_,
NewCallback(this, &ExtensionIconSource::OnFaviconDataAvailable));
cancelable_consumer_.SetClientData(favicon_service, handle, request_id);
}
@@ -210,7 +212,8 @@ void ExtensionIconSource::OnFaviconDataAvailable(
bool know_favicon,
scoped_refptr<RefCountedMemory> data,
bool expired,
- GURL icon_url) {
+ GURL icon_url,
+ history::IconType) {
sky 2011/03/09 21:41:08 name
michaelbai 2011/03/09 23:11:45 Done.
int request_id = cancelable_consumer_.GetClientData(
profile_->GetFaviconService(Profile::EXPLICIT_ACCESS), request_handle);
ExtensionIconRequest* request = GetData(request_id);

Powered by Google App Engine
This is Rietveld 408576698