|
Adds support for the DHCP portion of the WPAD (proxy auto-discovery) protocol.
This is Windows-only for now, and is disabled by default. Start
Chrome with the flag --enable-dhcp-wpad to enable the feature. See
discussion in comment on DhcpProxyScriptFetcherFactory for why this
needs to be done in a per-platform way rather than cross-platform.
The code is factored so that adding other platform implementations
will be straight forward.
Most of the implementation is stand-alone and extends the
ScriptProxyFetcher class hierarchy (and makes its interface slightly
more generic). The integration point into existing code is in
InitProxyResolver, which previously handled fallback from DNS
auto-detect to custom PAC URL and now does fallback from DHCP to DNS
to custom PAC URL.
BUG= 18575
TEST=net_unittests has good coverage for the new and changed code, but
manual tests on a network with a PAC URL configured in DHCP are also
needed.
Original commit r85646.
Reverted (test failures on some release bots) r85648.
Will reland with fix.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85661
Total comments: 1
Total comments: 88
Total comments: 6
Total comments: 46
Total comments: 50
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+2527 lines, -177 lines) |
Patch |
|
M |
chrome/browser/net/connection_tester.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/browser/net/proxy_service_factory.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
chrome/chrome_dll.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
chrome/common/chrome_switches.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
chrome/common/chrome_switches.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/base/net_error_list.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/base/net_log_event_type_list.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
net/net.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/proxy/dhcp_proxy_script_adapter_fetcher_win.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+198 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/proxy/dhcp_proxy_script_adapter_fetcher_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+286 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/proxy/dhcp_proxy_script_adapter_fetcher_win_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+300 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/proxy/dhcp_proxy_script_fetcher.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+98 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/proxy/dhcp_proxy_script_fetcher.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/proxy/dhcp_proxy_script_fetcher_factory.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/proxy/dhcp_proxy_script_fetcher_factory.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/proxy/dhcp_proxy_script_fetcher_factory_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
|
A |
net/proxy/dhcp_proxy_script_fetcher_win.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+123 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/proxy/dhcp_proxy_script_fetcher_win.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+246 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/proxy/dhcp_proxy_script_fetcher_win_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+545 lines, -0 lines |
2 comments
|
Download
|
|
A |
net/proxy/dhcpcsvc_init_win.h
|
View
|
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/proxy/dhcpcsvc_init_win.cc
|
View
|
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/proxy/init_proxy_resolver.h
|
View
|
1
2
3
4
5
6
7
8
9
|
7 chunks |
+32 lines, -14 lines |
0 comments
|
Download
|
|
M |
net/proxy/init_proxy_resolver.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
10 chunks |
+103 lines, -42 lines |
0 comments
|
Download
|
|
M |
net/proxy/init_proxy_resolver_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
27 chunks |
+156 lines, -30 lines |
0 comments
|
Download
|
|
A |
net/proxy/mock_proxy_script_fetcher.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
|
A |
net/proxy/mock_proxy_script_fetcher.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
|
M |
net/proxy/proxy_script_fetcher.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
net/proxy/proxy_script_fetcher_impl.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
net/proxy/proxy_script_fetcher_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
net/proxy/proxy_service.h
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+17 lines, -4 lines |
0 comments
|
Download
|
|
M |
net/proxy/proxy_service.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
5 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
|
M |
net/proxy/proxy_service_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
13 chunks |
+24 lines, -58 lines |
0 comments
|
Download
|
Total messages: 22 (0 generated)
|