Chromium Code Reviews
DescriptionChange ProxyRules to handle ProxyLists rather than just single ProxyServer instances.
- All of the ProxyRules members that used to just be ProxyServers are now ProxyLists.
- ParseFromString will now accept multiple proxy specifications per scheme.
- ProxyRules::Apply now sets the ProxyInfo result to use a PAC string if any proxying
will be done.
- ProxyList now has an AddProxyServer method.
- In general, beacuse ProxyList checks for the validity of its contents before adding
new entries, IsEmpty() is used as a validity test where is_valid() used to be.
- Writing ProxyRules into a dictionary will write out each constituent ProxyList as a
PAC string.
- Slight functional change to proxy_info: Calling UsePacString() now invokes Reset(),
in line with the other Use* methods.
- Updated proxy_config_unittest to compare PAC strings of proxy rules components.
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188604
Patch Set 1 #
Total comments: 28
Patch Set 2 : #
Total comments: 24
Patch Set 3 : #Patch Set 4 : (Removed blank lines). #
Total comments: 10
Patch Set 5 : #Patch Set 6 : #
Total comments: 6
Patch Set 7 : #
Total comments: 2
Patch Set 8 : #Patch Set 9 : Fix for Android builds. #Patch Set 10 : Fix for chromeos builds. #Patch Set 11 : #Patch Set 12 : #Messages
Total messages: 43 (0 generated)
|