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

Issue 1066513005: Use a custom URLRequestContextGetter for performing the secure proxy check. (Closed)

Created:
5 years, 8 months ago by jeremyim
Modified:
5 years, 8 months ago
CC:
chromium-reviews, tbansal1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use a custom URLRequestContextGetter for performing the secure proxy check. BUG=478610 Committed: https://crrev.com/cdd5a3de49c48a2ddaab69ff23e8542dd8deabec Cr-Commit-Position: refs/heads/master@{#326138}

Patch Set 1 #

Patch Set 2 : Fix unit tests, use direct proxy. #

Total comments: 11

Patch Set 3 : Address CR comments #

Total comments: 10

Patch Set 4 : bengr CR comments #

Patch Set 5 : Rename a field #

Messages

Total messages: 20 (6 generated)
jeremyim
PTAL. mmenke => The correct usage of URLRequestContext/ContextBuilder/ContextGetter + URLFetcher bengr => General DRP-ness
5 years, 8 months ago (2015-04-21 06:07:40 UTC) #2
mmenke
The Builder usage LGTM https://codereview.chromium.org/1066513005/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc (right): https://codereview.chromium.org/1066513005/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc#newcode35 components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc:35: class SimpleURLRequestContextGetter : public net::URLRequestContextGetter ...
5 years, 8 months ago (2015-04-21 14:36:59 UTC) #3
tbansal1
Thanks for taking care of this! https://codereview.chromium.org/1066513005/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc (right): https://codereview.chromium.org/1066513005/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode56 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:56: : url_request_context_getter_(url_request_context_getter) {} ...
5 years, 8 months ago (2015-04-21 16:14:06 UTC) #5
tbansal1
https://codereview.chromium.org/1066513005/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc (right): https://codereview.chromium.org/1066513005/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc#newcode63 components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc:63: builder.SetSpdyAndQuicEnabled(false, false); Also not copying the net_log means there ...
5 years, 8 months ago (2015-04-21 16:15:43 UTC) #6
jeremyim
https://codereview.chromium.org/1066513005/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc (right): https://codereview.chromium.org/1066513005/diff/20001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode56 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:56: : url_request_context_getter_(url_request_context_getter) {} On 2015/04/21 16:14:05, tbansal1 wrote: > ...
5 years, 8 months ago (2015-04-21 18:15:22 UTC) #7
tbansal1
lgtm
5 years, 8 months ago (2015-04-21 18:21:42 UTC) #8
bengr
https://codereview.chromium.org/1066513005/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc (right): https://codereview.chromium.org/1066513005/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc#newcode37 components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc:37: class SimpleURLRequestContextGetter : public net::URLRequestContextGetter { Naming. "Simple" doesn't ...
5 years, 8 months ago (2015-04-21 18:50:53 UTC) #9
jeremyim
https://codereview.chromium.org/1066513005/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc (right): https://codereview.chromium.org/1066513005/diff/40001/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc#newcode37 components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc:37: class SimpleURLRequestContextGetter : public net::URLRequestContextGetter { On 2015/04/21 18:50:53, ...
5 years, 8 months ago (2015-04-21 19:00:50 UTC) #10
bengr
lgtm
5 years, 8 months ago (2015-04-21 19:40:08 UTC) #12
jeremyim
sgurun => aw_browser_context.cc Thanks!
5 years, 8 months ago (2015-04-21 19:41:21 UTC) #14
sgurun-gerrit only
On 2015/04/21 19:41:21, jeremyim wrote: > sgurun => aw_browser_context.cc > > Thanks! aw lgtm
5 years, 8 months ago (2015-04-21 19:44:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1066513005/100001
5 years, 8 months ago (2015-04-21 19:46:14 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 8 months ago (2015-04-21 22:01:02 UTC) #19
commit-bot: I haz the power
5 years, 8 months ago (2015-04-21 22:02:01 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/cdd5a3de49c48a2ddaab69ff23e8542dd8deabec
Cr-Commit-Position: refs/heads/master@{#326138}

Powered by Google App Engine
This is Rietveld 408576698