Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: net/base/network_change_notifier.cc

Issue 1327923002: Migrates QUIC sessions to a new network when old network is (about to be) disconnected. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@home
Patch Set: Naming fixes. Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/network_change_notifier.cc
diff --git a/net/base/network_change_notifier.cc b/net/base/network_change_notifier.cc
index 187923cc8969d06230b55d8166d2eb041665b8a0..33f2d4516c04e5b1e611f021110bbc9c3f9d7de0 100644
--- a/net/base/network_change_notifier.cc
+++ b/net/base/network_change_notifier.cc
@@ -922,6 +922,16 @@ void NetworkChangeNotifier::NotifyObserversOfNetworkChangeForTests(
}
// static
+void NetworkChangeNotifier::NotifyObserversOfSpecificNetworkChangeForTests(
+ NetworkChangeType type,
+ NetworkHandle network) {
+ if (g_network_change_notifier) {
+ g_network_change_notifier->NotifyObserversOfSpecificNetworkChangeImpl(
+ type, network);
+ }
+}
+
+// static
void NetworkChangeNotifier::NotifyObserversOfInitialDNSConfigReadForTests() {
if (g_network_change_notifier)
g_network_change_notifier->NotifyObserversOfInitialDNSConfigReadImpl();

Powered by Google App Engine
This is Rietveld 408576698