Index: webkit/glue/multi_resolution_image_resource_fetcher.h |
diff --git a/webkit/glue/multi_resolution_image_resource_fetcher.h b/webkit/glue/multi_resolution_image_resource_fetcher.h |
index b3164331bb169556f3e922b4d04e3eaa2c7eaf55..0aef0f51b062fb6434304327c2791ddf4585d1ee 100644 |
--- a/webkit/glue/multi_resolution_image_resource_fetcher.h |
+++ b/webkit/glue/multi_resolution_image_resource_fetcher.h |
@@ -38,6 +38,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, |
@@ -48,6 +51,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_; |