Simplify in-process URLRequestContext creation with the NetworkService.
The old code hooked up things to the URLRequestContext that hadn't been ported over to work with the NetworkService yet, when the NetworkService was enabled. This CL just does the minimum setup that's needed to not crash. It also makes requests made with the in-process URLRequestContext fail when the network service is enabled. These changes will help identify code that still depends on the legacy path, and allow for some cleanup of URLRequestContextBuilderMojo and NetworkContext. Cq-Include-Trybots: luci.chromium.try:linux_mojo Change-Id: I4c3f40e6dc3c235844846bff7d1d43d0b1c986d0 Bug: 825242 Reviewed-on: https://chromium-review.googlesource.com/1096075 Commit-Queue: Matt Menke <mmenke@chromium.org> Reviewed-by:John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#567879}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment