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

Unified Diff: content/public/browser/resource_request_details.h

Issue 226183015: Added HTTP response code field to ResourceRequestDetails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrections after review. Created 6 years, 8 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 | « no previous file | content/public/browser/resource_request_details.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0127fefef2236e2ad5266d9a61b6e32e83cef55f 100644
--- a/content/public/browser/resource_request_details.h
+++ b/content/public/browser/resource_request_details.h
@@ -40,6 +40,9 @@ struct ResourceRequestDetails {
ResourceType::Type resource_type;
net::HostPortPair socket_address;
int render_frame_id;
+ // HTTP response code. See HttpResponseHeaders::response_code().
+ // -1 if there are no response headers yet.
+ int http_response_code;
};
// Details about a redirection of a resource request.
« no previous file with comments | « no previous file | content/public/browser/resource_request_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698