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

Unified Diff: net/http/http_basic_state.h

Issue 2298823002: Resetting the HttpRequestInfo pointers in HttpNetworkTransaction and streams (Closed)
Patch Set: Initial patch Created 4 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 | « no previous file | net/http/http_basic_state.cc » ('j') | net/http/http_network_transaction.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_basic_state.h
diff --git a/net/http/http_basic_state.h b/net/http/http_basic_state.h
index d9d66f6ffc99ad632c26391e412f560b348d5b8c..aeff6add963d08a9ee5c0d6f04ac0d50c06cc824 100644
--- a/net/http/http_basic_state.h
+++ b/net/http/http_basic_state.h
@@ -16,6 +16,7 @@
#include "net/base/completion_callback.h"
#include "net/base/net_export.h"
#include "net/base/request_priority.h"
+#include "url/gurl.h"
namespace net {
@@ -63,7 +64,8 @@ class NET_EXPORT_PRIVATE HttpBasicState {
const bool using_proxy_;
- const HttpRequestInfo* request_info_;
+ GURL url_;
+ std::string request_method_;
mmenke 2016/08/31 21:57:59 Why do we need these? Generating the request line
shivanisha 2016/09/08 20:43:54 We need these only for generating request line. I
DISALLOW_COPY_AND_ASSIGN(HttpBasicState);
};
« no previous file with comments | « no previous file | net/http/http_basic_state.cc » ('j') | net/http/http_network_transaction.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698