DescriptionIOThread::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 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 27 (19 generated)
|