|
Hook up ProfileIOData's URLRequestContext to a NetworkService.
This CL adds ProfileNetworkContextService, a BrowserContext
KeyedService, that wraps ProfileIOData's URLRequestContext in a
NetworkContext (Which ProfileIOData hooks up to IOThread's in-process
NetworkService), and provides NetworkContext configuration parameters
for it as well.
When the network service is disabled, the new service provides direct
access to the net NetworkContext. When the network service is enabled,
the new service configures and provides acess to the StoragePartition's
NetworkContext instance instead (Though it still sets up a
NetworkContext for ProfileIOData's URLRequestContext as well).
Bug= 715695
Review-Url: https://codereview.chromium.org/2976323002
Cr-Commit-Position: refs/heads/master@{#488893}
Committed: https://chromium.googlesource.com/chromium/src/+/0d1d09c3691ba940649051a8d172b356cc1ef7b1
Total comments: 23
Total comments: 16
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+440 lines, -154 lines) |
Patch |
|
M |
chrome/browser/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_content_browser_client.h
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/chrome_content_browser_client.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
|
A + |
chrome/browser/net/network_context_configuration_browsertest.cc
|
View
|
|
4 chunks |
+65 lines, -13 lines |
0 comments
|
Download
|
|
A |
chrome/browser/net/profile_network_context_service.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/net/profile_network_context_service.cc
|
View
|
1
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/net/profile_network_context_service_factory.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
|
A |
chrome/browser/net/profile_network_context_service_factory.cc
|
View
|
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
D |
chrome/browser/net/system_network_context_manager_browsertest.cc
|
View
|
|
1 chunk |
+0 lines, -91 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_io_data.h
|
View
|
|
4 chunks |
+12 lines, -2 lines |
0 comments
|
Download
|
|
M |
chrome/browser/profiles/profile_io_data.cc
|
View
|
|
11 chunks |
+37 lines, -26 lines |
0 comments
|
Download
|
|
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
4
5
|
3 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/browsing_data/browsing_data_remover_impl_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/storage_partition_impl.h
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/storage_partition_impl.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
content/browser/url_loader_factory_getter.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/webui/web_ui_url_loader_factory.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/network/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/network/network_context.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/network/url_loader_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/content_browser_client.h
|
View
|
1
2
3
4
5
|
3 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/content_browser_client.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/storage_partition.h
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/common/resource_request.h
|
View
|
1
2
3
4
5
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
content/public/common/resource_request.cc
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
Total messages: 76 (58 generated)
|