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

Unified Diff: content/renderer/image_loading_helper.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
« no previous file with comments | « content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/image_loading_helper.cc
diff --git a/content/renderer/image_loading_helper.cc b/content/renderer/image_loading_helper.cc
index 5f936a41f3ddbce83d226db7f5bea6dd19e16b19..3b1b1e1407063cf108aabc2efec94ddfc5fdbe6b 100644
--- a/content/renderer/image_loading_helper.cc
+++ b/content/renderer/image_loading_helper.cc
@@ -53,6 +53,7 @@ void ImageLoadingHelper::OnDownloadImage(int id,
Send(new ImageHostMsg_DidDownloadImage(routing_id(),
id,
+ 0,
image_url,
image_size,
result_images));
@@ -84,6 +85,7 @@ void ImageLoadingHelper::DidDownloadImage(
// Notify requester of image download status.
Send(new ImageHostMsg_DidDownloadImage(routing_id(),
fetcher->id(),
+ fetcher->http_status_code(),
fetcher->image_url(),
requested_size,
images));
« no previous file with comments | « content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698