Added probe to determine if data reduction proxy can be used
Chrome will now probe the URL /connect, which is hosted by the data reduction proxy, before using the proxy. This CL also upstreams some of the settings logic for the proxy. BUG=270958 Review URL: https://codereview.chromium.org/23458016 git-svn-id: http://src.chromium.org/svn/trunk/src/build@227410 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
241404d638
Коммит
4fa9932145
|
@ -439,6 +439,7 @@
|
|||
'spdy_proxy_auth_origin%' : '',
|
||||
'spdy_proxy_auth_property%' : '',
|
||||
'spdy_proxy_auth_value%' : '',
|
||||
'data_reduction_proxy_probe_url%' : '',
|
||||
'enable_mdns%' : 0,
|
||||
'enable_enhanced_bookmarks%': 0,
|
||||
|
||||
|
@ -881,6 +882,7 @@
|
|||
'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)',
|
||||
'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)',
|
||||
'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)',
|
||||
'data_reduction_proxy_probe_url%': '<(data_reduction_proxy_probe_url)',
|
||||
'enable_mdns%' : '<(enable_mdns)',
|
||||
'enable_enhanced_bookmarks%' : '<(enable_enhanced_bookmarks)',
|
||||
'v8_optimized_debug': '<(v8_optimized_debug)',
|
||||
|
@ -2323,6 +2325,10 @@
|
|||
['spdy_proxy_auth_value != ""', {
|
||||
'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'],
|
||||
}],
|
||||
['data_reduction_proxy_probe_url != ""', {
|
||||
'defines': [
|
||||
'DATA_REDUCTION_PROXY_PROBE_URL="<(data_reduction_proxy_probe_url)"'],
|
||||
}],
|
||||
['enable_mdns==1', {
|
||||
'defines': ['ENABLE_MDNS=1'],
|
||||
}],
|
||||
|
|
Загрузка…
Ссылка в новой задаче