DescriptionAdds a NetworkChangeNotifier dependency to ProxyService; when we observer a network change through the notifier, the ProxyService re-configures itself.
So for example, if you were to switch to VPN and are using a custom PAC URL, we will re-download that URL on the new network.
Similarly if you are using auto-detect PAC settings, we will re-run the autodiscovery steps for the next resolve.
Note that Chromium is still passing a NULL NetworkChangeNotifier dependency into its ProxyService -- until it passes a real implementation, this will not impact Chrome.
BUG=12293
TEST=ProxyServiceTest.NetworkChangeTriggersPacRefetch
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=35772
Patch Set 1 #Patch Set 2 : Fix some comments #
Total comments: 2
Patch Set 3 : Add a test_shell file #
Messages
Total messages: 3 (0 generated)
|