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

Issue 2860813002: IOThread::ConstructSystemRequestContext defrag. (Closed)

Created:
3 years, 7 months ago by mmenke
Modified:
3 years, 7 months ago
Reviewers:
asanka
CC:
chromium-reviews, cbentzel+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

IOThread::ConstructSystemRequestContext defrag. Make the order of setting parameters in ConstructSystemRequestContext exactly match the order in URLRequestContextBuilder. Also add a few (trivial) setters to URLRequestContextBuilder for things that ConstructSystemRequestContext sets that URLRequestContextBuilder does not support. This is part of a multi-stage operation to use URLRequestContextBuilder to create the system URLRequestContext: 1) Defrag (This CL). 2) Switch to having a URLRequestContextStorage own everything, and create everything inline with system URLRequestContext configuration. 3) Switch the proxy service to using the system URLRequestContext. 4) Switch to using URLRequestContextBuilder, but having IOThread create everything (This could be combined with 2, but 2 will affect a lot of accessors, so will probably to do it incrementally) 5) Switch to having URLRequestContextBuilder create everything it reasonably can. Hopefully the incremental approach will help to protect against regressions. BUG=715695 Review-Url: https://codereview.chromium.org/2860813002 Cr-Commit-Position: refs/heads/master@{#469508} Committed: https://chromium.googlesource.com/chromium/src/+/518c27b2f8b6f890ca41e560cede83555c90f1c9

Patch Set 1 #

Patch Set 2 : Add forward declaration #

Patch Set 3 : empty name by default #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -19 lines) Patch
M chrome/browser/io_thread.cc View 2 chunks +21 lines, -18 lines 0 comments Download
M net/url_request/url_request_context_builder.h View 1 3 chunks +20 lines, -0 lines 0 comments Download
M net/url_request/url_request_context_builder.cc View 1 2 2 chunks +8 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 27 (19 generated)
mmenke
Asanka: I was thinking I'd send my CLs to clean up URLRequestContext construction your way. ...
3 years, 7 months ago (2017-05-04 19:09:40 UTC) #17
asanka
lgtm
3 years, 7 months ago (2017-05-04 21:52:47 UTC) #18
asanka
FYI: I'll be gone for two weeks starting next week.
3 years, 7 months ago (2017-05-04 21:53:15 UTC) #19
mmenke
On 2017/05/04 21:53:15, asanka wrote: > FYI: I'll be gone for two weeks starting next ...
3 years, 7 months ago (2017-05-04 22:14:08 UTC) #20
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/2860813002/40001
3 years, 7 months ago (2017-05-04 22:18:48 UTC) #22
mmenke
On 2017/05/04 22:14:08, mmenke wrote: > On 2017/05/04 21:53:15, asanka wrote: > > FYI: I'll ...
3 years, 7 months ago (2017-05-04 22:19:21 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/518c27b2f8b6f890ca41e560cede83555c90f1c9
3 years, 7 months ago (2017-05-04 23:16:29 UTC) #26
asanka
3 years, 7 months ago (2017-05-05 02:46:43 UTC) #27
Message was sent while issue was closed.
On 2017/05/04 22:19:21, mmenke wrote:
> On 2017/05/04 22:14:08, mmenke wrote:
> > On 2017/05/04 21:53:15, asanka wrote:
> > > FYI: I'll be gone for two weeks starting next week.
> > 
> > Thanks!  Sorry, forgot about that.  I'll use Randy, then, since I suppose
> you'd
> > rather enjoy your vacation than do codereviews for some unexplicable reason.
> 
> And just a friendly reminder that you may want to update your name on
> http://codereview.chromium.org to say that sooner rather than later.  :)

Done. Thanks!

Powered by Google App Engine
This is Rietveld 408576698