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

Unified Diff: net/base/network_change_notifier.cc

Issue 1549613002: Makes NetworkChangeType enum public. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@datagram
Patch Set: 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
« no previous file with comments | « net/base/network_change_notifier.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_change_notifier.cc
diff --git a/net/base/network_change_notifier.cc b/net/base/network_change_notifier.cc
index 52e5ce34c217ee956e8d455a283a953afc644b7d..2a4b6131f14922b26138124a67790838b413fdb6 100644
--- a/net/base/network_change_notifier.cc
+++ b/net/base/network_change_notifier.cc
@@ -923,6 +923,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();
« no previous file with comments | « net/base/network_change_notifier.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698