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

Issue 2841163002: Make ProfileIOData's ProxyService fetch PACs with the main URLRequestContext (Closed)

Created:
3 years, 8 months ago by mmenke
Modified:
3 years, 7 months ago
Reviewers:
eroman
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make ProfileIOData's ProxyService fetch PACs with the main URLRequestContext. This is intended to make servicification a little simpler, since we won't have to configure a secret global URLRequestContext used just to fetch PAC scripts. The system URLRequestContext will be updated in a similar manner in a followup CL. BUG=715697 Review-Url: https://codereview.chromium.org/2841163002 Cr-Commit-Position: refs/heads/master@{#469044} Committed: https://chromium.googlesource.com/chromium/src/+/0a8ca0d1e3ac86cd1d0955fc66a43aaa1eaf7393

Patch Set 1 #

Patch Set 2 : Merge #

Patch Set 3 : Add null check #

Patch Set 4 : Fix Android? #

Patch Set 5 : Merge fix #

Total comments: 2

Patch Set 6 : Fix test #

Patch Set 7 : cleanup test #

Patch Set 8 : Minor test cleanup #

Total comments: 4

Patch Set 9 : Minor test cleanup #

Patch Set 10 : Response to comments #

Patch Set 11 : Change test URL to not be the test (proxy) server's URL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -49 lines) Patch
M chrome/browser/net/proxy_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +95 lines, -0 lines 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/profiles/off_the_record_profile_io_data.cc View 1 2 chunks +0 lines, -6 lines 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.h View 1 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_impl_io_data.cc View 1 3 chunks +23 lines, -23 lines 0 comments Download
M chrome/browser/profiles/profile_io_data.h View 1 2 3 4 5 6 7 8 9 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_io_data.cc View 1 2 3 6 chunks +41 lines, -16 lines 0 comments Download
M net/test/embedded_test_server/embedded_test_server.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 74 (64 generated)
mmenke
I'll update the IOThread to do the same and remove the ProxyScriptFetcherURLRequestContext in another CL. ...
3 years, 7 months ago (2017-05-02 20:10:26 UTC) #53
eroman
lgtm https://codereview.chromium.org/2841163002/diff/280001/chrome/browser/profiles/profile_io_data.cc File chrome/browser/profiles/profile_io_data.cc (right): https://codereview.chromium.org/2841163002/diff/280001/chrome/browser/profiles/profile_io_data.cc#newcode1334 chrome/browser/profiles/profile_io_data.cc:1334: return base::WrapUnique<net::NetworkDelegate>( does this work? return std::move(chrome_network_delegate); https://codereview.chromium.org/2841163002/diff/280001/chrome/browser/profiles/profile_io_data.h ...
3 years, 7 months ago (2017-05-02 21:29:35 UTC) #60
mmenke
Thanks! Sufficiently paranoid about this change that I'll wait until tomorrow to land. https://codereview.chromium.org/2841163002/diff/280001/chrome/browser/profiles/profile_io_data.cc File ...
3 years, 7 months ago (2017-05-02 21:33:59 UTC) #61
commit-bot: I haz the power
This CL has an open dependency (Issue 2845643003 Patch 260001). Please resolve the dependency and ...
3 years, 7 months ago (2017-05-03 16:40:57 UTC) #65
mmenke
On 2017/05/03 16:40:57, commit-bot: I haz the power wrote: > This CL has an open ...
3 years, 7 months ago (2017-05-03 16:41:47 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2841163002/340001
3 years, 7 months ago (2017-05-03 17:11:04 UTC) #68
commit-bot: I haz the power
Committed patchset #11 (id:340001) as https://chromium.googlesource.com/chromium/src/+/0a8ca0d1e3ac86cd1d0955fc66a43aaa1eaf7393
3 years, 7 months ago (2017-05-03 18:40:46 UTC) #71
mmenke
On 2017/05/03 18:40:46, commit-bot: I haz the power wrote: > Committed patchset #11 (id:340001) as ...
3 years, 7 months ago (2017-05-03 19:44:18 UTC) #72
eroman
acknowledged.
3 years, 7 months ago (2017-05-03 19:58:38 UTC) #73
mmenke
3 years, 7 months ago (2017-05-11 15:49:15 UTC) #74
Message was sent while issue was closed.
A revert of this CL (patchset #11 id:340001) has been created in
https://codereview.chromium.org/2876463007/ by mmenke@chromium.org.

The reason for reverting is: This ran into a race with extension setup.  Have a
CL out to fix that, but reverting this in the meantime.  I'll plan to TBR the
reland, since this bug this tickled has no real relation to any code in this CL,
but is a pre-existing issue in other code that this tickled..

Powered by Google App Engine
This is Rietveld 408576698