Chromium Code Reviews
DescriptionAllow HostCache to handle network changes itself
HostCache can already expire all of its entries when the network changes
and return them only when entries from other networks are allowed. This
change makes HostResolverImpl notify HostCache on network change instead
of clearing it, and modifies the StaleHostResolver tests to simulate a
network change using NetworkChangeNotifier rather than directly
notifying HostCache so that the relevant codepath is tested. The
addition of net_java in deps is necessary to use NetworkChangeNotifier
on Android.
This change finishes implementation of the "allow_other_networks" option
in Cronet's "StaleDNS" experiment.
BUG=691078
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester
Review-Url: https://codereview.chromium.org/2692043002
Cr-Commit-Position: refs/heads/master@{#450096}
Committed: https://chromium.googlesource.com/chromium/src/+/5bb3b9d0c571ca00d511f36411a4dd06397b181f
Patch Set 1 #
Messages
Total messages: 10 (6 generated)
|
|||||||||||||||||||||||||||||||||||||