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

Unified Diff: net/http/http_network_transaction.cc

Issue 360113004: Add header pointer to BeforeProxyHeadersSentCallback (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.cc
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index 78f238a9bbd561b26f24f655b45a57680e2b9695..a8a840f7e4e706b57416068909e91f43ffe734fd 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -885,7 +885,7 @@ void HttpNetworkTransaction::BuildRequestHeaders(bool using_proxy) {
&request_headers_);
if (using_proxy && !before_proxy_headers_sent_callback_.is_null())
- before_proxy_headers_sent_callback_.Run(proxy_info_);
+ before_proxy_headers_sent_callback_.Run(proxy_info_, &request_headers_);
mmenke 2014/07/01 18:08:54 Should move this below "request_headers_.MergeFrom
bengr 2014/07/01 18:18:51 Done.
request_headers_.MergeFrom(request_->extra_headers);
response_.did_use_http_auth =
« no previous file with comments | « no previous file | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698