|
Make Data Reduction Proxy a best effort proxy
The data reduction proxy is used only if the effective proxy
configuration resolves to DIRECT for the requested URL. This
works by allowing the ProxyService to choose an effective proxy
configuration and to decide on the prioritized list of proxies
to use for a URL given that configuration. Just before the list
is
used, the DataReductionProxyNetworkDelegate's OnResolveProxy()
method provides an opportunity to change that list, which it
does, only if that list begins with DIRECT.
BUG= 429826, 444169
Committed: https://crrev.com/70101ea5186d12e67ed99e67fdafd33813f8da67
Cr-Commit-Position: refs/heads/master@{#310182}
Total comments: 15
Total comments: 2
Total comments: 1
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+345 lines, -1462 lines) |
Patch |
 |
M |
android_webview/browser/aw_browser_context.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/aw_browser_context.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+25 lines, -28 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/net/aw_url_request_context_getter.h
|
View
|
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
android_webview/browser/net/aw_url_request_context_getter.cc
|
View
|
|
3 chunks |
+14 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.h
|
View
|
|
1 chunk |
+0 lines, -92 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator.cc
|
View
|
|
1 chunk |
+0 lines, -195 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_configurator_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -202 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.cc
|
View
|
1
|
3 chunks |
+32 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/net/spdyproxy/data_reduction_proxy_settings_android.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/off_the_record_profile_impl.cc
|
View
|
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl.cc
|
View
|
1
2
|
6 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl_io_data.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_impl_io_data.cc
|
View
|
1
2
|
5 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_io_data.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profiles/profile_io_data.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests_unit.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/components_tests.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy.gypi
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/BUILD.gn
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
D |
components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service.h
|
View
|
|
1 chunk |
+0 lines, -125 lines |
0 comments
|
Download
|
 |
D |
components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service.cc
|
View
|
|
1 chunk |
+0 lines, -200 lines |
0 comments
|
Download
|
 |
D |
components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -305 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h
|
View
|
1
2
3
|
1 chunk |
+72 lines, -17 lines |
0 comments
|
Download
|
 |
A + |
components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator.cc
|
View
|
|
7 chunks |
+17 lines, -58 lines |
0 comments
|
Download
|
 |
A + |
components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_unittest.cc
|
View
|
1
|
8 chunks |
+41 lines, -83 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_protocol.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_protocol.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_protocol_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+30 lines, -52 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.h
|
View
|
1
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_test_utils.cc
|
View
|
1
|
4 chunks |
+20 lines, -6 lines |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_settings_unittest.cc
|
View
|
1
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/data_reduction_proxy/core/browser/data_reduction_proxy_usage_stats.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+23 lines, -15 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
Total messages: 30 (9 generated)
|