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..d300611166c4a7e47199db6950fd7c29a9454630 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() { return http_status_code_; } |
sky
2013/05/03 20:24:54
const?
mef
2013/05/03 21:45:59
Done.
|
+ |
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_; |