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

Unified Diff: content/public/common/resource_response.h

Issue 517853004: Move ResourceResponseHead::error_code to SyncLoadResult. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « content/common/resource_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/resource_response.h
diff --git a/content/public/common/resource_response.h b/content/public/common/resource_response.h
index a9a6addaaca38ef8828d5a2a403dd03c6add72e6..8147d3ad668ca4b36505e29ea3a4753b44601ef8 100644
--- a/content/public/common/resource_response.h
+++ b/content/public/common/resource_response.h
@@ -20,8 +20,6 @@ namespace content {
// Parameters for a resource response header.
struct ResourceResponseHead : ResourceResponseInfo {
- // The response error_code.
- int error_code;
// TimeTicks::Now() when the browser received the request from the renderer.
base::TimeTicks request_start;
// TimeTicks::Now() when the browser sent the response to the renderer.
@@ -30,6 +28,8 @@ struct ResourceResponseHead : ResourceResponseInfo {
// Parameters for a synchronous resource response.
struct SyncLoadResult : ResourceResponseHead {
+ // The response error_code.
+ int error_code;
// The final URL after any redirects.
GURL final_url;
« no previous file with comments | « content/common/resource_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698