|
Introduce SystemNetworkContextManager.
The new class provides access to the SystemURLRequestContext via
an in-process NetworkService and the NetworkContext Mojo API.
Eventually, we should remove IOThread entirely, and have the
SystemNetworkContextManager perform all configuration of the
SystemRequestContext, and provide access to it as well.
The in-process network service currently just takes a
URLRequestContextBuilder from IOThread and uses that to create the
URLRequestContext, but this gives us a path to switch over
configuration so that it goes through the NetworkService API. It also
lets us switch consumers over to using the NetworkContext API without
having to create a wrapper that supports both the shiny new Mojo API
the legacy one.
When network service is enabled, the SystemNetworkContextManager will
use an out-of-process URLRequestContext instead of an in-process one,
while the IOThread will continue to use an in-process ones.
BUG= 715695
Review-Url: https://codereview.chromium.org/2968293002
Cr-Commit-Position: refs/heads/master@{#486527}
Committed: https://chromium.googlesource.com/chromium/src/+/f73a51226b54539fc543cbb29784ab036b76dc40
Total comments: 26
Total comments: 4
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+552 lines, -615 lines) |
Patch |
|
M |
chrome/browser/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/DEPS
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/io_thread.h
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
|
M |
chrome/browser/io_thread.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+42 lines, -31 lines |
0 comments
|
Download
|
|
A |
chrome/browser/net/system_network_context_manager.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/net/system_network_context_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/net/system_network_context_manager_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+91 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/ui/webui/net_internals/net_internals_ui.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/blob_storage/blob_url_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/loader/DEPS
|
View
|
1
2
|
5 chunks |
+2 lines, -10 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/mojo_async_resource_handler_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
D |
content/browser/loader/test_url_loader_client.h
|
View
|
|
1 chunk |
+0 lines, -134 lines |
0 comments
|
Download
|
|
D |
content/browser/loader/test_url_loader_client.cc
|
View
|
|
1 chunk |
+0 lines, -196 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/url_loader_factory_impl_unittest.cc
|
View
|
1
2
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/storage_partition_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -11 lines |
0 comments
|
Download
|
|
M |
content/network/BUILD.gn
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/network/DEPS
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/network/network_context.h
|
View
|
|
3 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/network/network_context.cc
|
View
|
|
3 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
D |
content/network/network_service.h
|
View
|
|
1 chunk |
+0 lines, -70 lines |
0 comments
|
Download
|
|
D |
content/network/network_service.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -105 lines |
0 comments
|
Download
|
|
A + |
content/network/network_service_impl.h
|
View
|
1
2
3
4
5
|
3 chunks |
+22 lines, -12 lines |
0 comments
|
Download
|
|
A + |
content/network/network_service_impl.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+39 lines, -16 lines |
0 comments
|
Download
|
|
M |
content/network/network_service_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/network/url_loader_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/public/browser/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
A |
content/public/browser/network_service_instance.h
|
View
|
1
2
3
4
5
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/public/browser/network_service_instance.cc
|
View
|
1
2
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/public/network/BUILD.gn
|
View
|
1
2
3
4
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/public/network/DEPS
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/public/network/network_service.h
|
View
|
1
2
3
4
5
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
|
A + |
content/public/test/test_url_loader_client.h
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
A + |
content/public/test/test_url_loader_client.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/test/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/utility/utility_service_factory.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 74 (54 generated)
|