Index: content/public/browser/resource_request_details.h |
diff --git a/content/public/browser/resource_request_details.h b/content/public/browser/resource_request_details.h |
index 856d9a3cc4944ed54fa8e8385d821268756ab5db..2a0f7a404f5559a43c506b4b55d7f17e9a3b976f 100644 |
--- a/content/public/browser/resource_request_details.h |
+++ b/content/public/browser/resource_request_details.h |
@@ -40,6 +40,12 @@ struct ResourceRequestDetails { |
ResourceType::Type resource_type; |
net::HostPortPair socket_address; |
int render_frame_id; |
+ // HTTP response code. |
+ // Defaults to 200 if there is no response code among headers. |
+ // -1 if there are no response headers yet for some reason. |
Charlie Reis
2014/04/08 23:22:29
nit: Remove "for some reason."
|
+ // Can be also 0 if the response code text seems to exist but could not be |
Charlie Reis
2014/04/08 23:22:29
Most of this comment seems to be taken from http_r
|
+ // parsed. |
+ int http_response_code; |
}; |
// Details about a redirection of a resource request. |