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

Issue 360113004: Add header pointer to BeforeProxyHeadersSentCallback (Closed)

Created:
6 years, 5 months ago by bengr
Modified:
6 years, 5 months ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add header pointer to BeforeProxyHeadersSentCallback This is needed because the higher layers, e.g., UrlRequestHttpJob do not always have a pointer to the request headers that the HttpNetworkTransaction will actually send. Note that the old code could also pass the wrong headers if redirects resulted in no longer going through the proxy. BUG=345907 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280885

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Addressed comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -8 lines) Patch
M net/http/http_network_transaction.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/http/http_transaction.h View 1 chunk +4 lines, -2 lines 0 comments Download
M net/url_request/url_request_http_job.h View 2 chunks +4 lines, -1 line 0 comments Download
M net/url_request/url_request_http_job.cc View 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
bengr
6 years, 5 months ago (2014-07-01 17:54:26 UTC) #1
mmenke
LGTM, modulo comment. Suggest mentioning in the description that the old code could also pass ...
6 years, 5 months ago (2014-07-01 18:08:54 UTC) #2
bengr
https://codereview.chromium.org/360113004/diff/20001/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://codereview.chromium.org/360113004/diff/20001/net/http/http_network_transaction.cc#newcode888 net/http/http_network_transaction.cc:888: before_proxy_headers_sent_callback_.Run(proxy_info_, &request_headers_); On 2014/07/01 18:08:54, mmenke wrote: > Should ...
6 years, 5 months ago (2014-07-01 18:18:51 UTC) #3
bengr
The CQ bit was checked by bengr@chromium.org
6 years, 5 months ago (2014-07-01 18:18:59 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bengr@chromium.org/360113004/40001
6 years, 5 months ago (2014-07-01 18:19:23 UTC) #5
commit-bot: I haz the power
6 years, 5 months ago (2014-07-01 21:20:28 UTC) #6
Message was sent while issue was closed.
Change committed as 280885

Powered by Google App Engine
This is Rietveld 408576698