diff options
author | marq@google.com <marq@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-16 18:02:02 +0000 |
---|---|---|
committer | marq@google.com <marq@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-16 18:02:02 +0000 |
commit | 2189e09e6697118750bcf63852e147005a98a2b7 (patch) | |
tree | ba278ded8936e69b3acbfdb7f77fff96f31749e5 /chrome/browser/extensions/api/proxy/proxy_apitest.cc | |
parent | d8d25796f9a56b974343cd2f1f5a12aa3ca0a450 (diff) | |
download | chromium_src-2189e09e6697118750bcf63852e147005a98a2b7.zip chromium_src-2189e09e6697118750bcf63852e147005a98a2b7.tar.gz chromium_src-2189e09e6697118750bcf63852e147005a98a2b7.tar.bz2 |
Change 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=
Review URL: https://chromiumcodereview.appspot.com/12315019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188604 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/api/proxy/proxy_apitest.cc')
0 files changed, 0 insertions, 0 deletions