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

Unified Diff: content/renderer/fetchers/multi_resolution_image_resource_fetcher.h

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: content/renderer/fetchers/multi_resolution_image_resource_fetcher.h
diff --git a/content/renderer/fetchers/multi_resolution_image_resource_fetcher.h b/content/renderer/fetchers/multi_resolution_image_resource_fetcher.h
index 925eed25a694c96c03d0ca5432c8b0376cf0ed67..3e7c326b496564ba49a9fc430af3c52fbbabe5e2 100644
--- a/content/renderer/fetchers/multi_resolution_image_resource_fetcher.h
+++ b/content/renderer/fetchers/multi_resolution_image_resource_fetcher.h
@@ -37,6 +37,9 @@ class MultiResolutionImageResourceFetcher{
// Unique identifier for the request.
int id() const { return id_; }
+ // HTTP status code upon fetch completion.
+ int http_status_code() const { return http_status_code_; }
+
private:
// ResourceFetcher::Callback. Decodes the image and invokes callback_.
void OnURLFetchComplete(const WebKit::WebURLResponse& response,
@@ -47,6 +50,9 @@ class MultiResolutionImageResourceFetcher{
// Unique identifier for the request.
const int id_;
+ // HTTP status code upon fetch completion.
+ int http_status_code_;
+
// URL of the image.
const GURL image_url_;
« no previous file with comments | « content/public/browser/web_contents.h ('k') | content/renderer/fetchers/multi_resolution_image_resource_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698