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

Unified Diff: chrome/browser/ui/web_applications/web_app_ui.cc

Issue 14322023: Don't request missing favicon on every page request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync up to r199996 Created 7 years, 7 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/web_applications/web_app_ui.cc
diff --git a/chrome/browser/ui/web_applications/web_app_ui.cc b/chrome/browser/ui/web_applications/web_app_ui.cc
index 4788e337de7f42f939d58e764e6a0e0856f0aafe..fd4a9daa38f0863153e15d897b99c4ba07b8c4a7 100644
--- a/chrome/browser/ui/web_applications/web_app_ui.cc
+++ b/chrome/browser/ui/web_applications/web_app_ui.cc
@@ -89,6 +89,7 @@ class UpdateShortcutWorker : public content::NotificationObserver {
// Favicon download callback.
void DidDownloadFavicon(
int id,
+ int http_status_code,
const GURL& image_url,
int requested_size,
const std::vector<SkBitmap>& bitmaps);
@@ -192,6 +193,7 @@ void UpdateShortcutWorker::DownloadIcon() {
void UpdateShortcutWorker::DidDownloadFavicon(
int id,
+ int http_status_code,
const GURL& image_url,
int requested_size,
const std::vector<SkBitmap>& bitmaps) {
« no previous file with comments | « chrome/browser/ui/views/create_application_shortcut_view.cc ('k') | content/browser/web_contents/web_contents_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698