|
Refactor: Extract "InitProxyResolver" to "ProxyScriptDecider".
This is primarily a rename, with the exception that the initialization of ProxyResolver (i.e. the javascript runtime environment for the PAC script) is no longer done inside of ProxyScriptDecider.
The motivation for doing this is to make it possible to poll our automatic proxy settings (PAC URLs or WPAD) in the background, _without_ needing to feed the scripts into the javascript parser for validation.
There likely won't be any user-visible consequence of this change, however the new mechanism is weaker than the original -- it is possible for the PAC selection to now choose a PAC script which fails to parse as javascript, even though there was a later fallback choice which does parse. This should be rare though (the bad response would need to contain the substring "FindProxyForURL").
BUG=TODO (bugtracker down right now)
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114281
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+487 lines, -1724 lines) |
Patch |
 |
M |
chrome/browser/net/passive_log_collector.h
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/net/passive_log_collector.cc
|
View
|
|
2 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/net_internals/events_view.css
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/net_internals/proxy_view.html
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/net_internals/proxy_view.js
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/test/data/extensions/api_test/proxy/events/parse_error.js
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/base/net_log_event_type_list.h
|
View
|
|
2 chunks |
+5 lines, -14 lines |
0 comments
|
Download
|
 |
M |
net/base/net_log_source_type_list.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
net/net.gyp
|
View
|
|
4 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
D |
net/proxy/init_proxy_resolver.h
|
View
|
|
1 chunk |
+0 lines, -166 lines |
0 comments
|
Download
|
 |
D |
net/proxy/init_proxy_resolver.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -382 lines |
0 comments
|
Download
|
 |
D |
net/proxy/init_proxy_resolver_unittest.cc
|
View
|
|
1 chunk |
+0 lines, -715 lines |
0 comments
|
Download
|
 |
A + |
net/proxy/proxy_script_decider.h
|
View
|
1
2
3
|
6 chunks |
+55 lines, -41 lines |
0 comments
|
Download
|
 |
A + |
net/proxy/proxy_script_decider.cc
|
View
|
1
2
3
|
14 chunks |
+116 lines, -102 lines |
0 comments
|
Download
|
 |
A + |
net/proxy/proxy_script_decider_unittest.cc
|
View
|
|
23 chunks |
+118 lines, -243 lines |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_service.h
|
View
|
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_service.cc
|
View
|
1
2
3
|
2 chunks |
+137 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/proxy/proxy_service_unittest.cc
|
View
|
|
11 chunks |
+25 lines, -30 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|