Index: net/base/network_change_notifier.cc |
diff --git a/net/base/network_change_notifier.cc b/net/base/network_change_notifier.cc |
index 0cfaaa38d259db9be27343bf487aaf3b88d1a6a0..f5bfa8cbf5e281cdbd97f545fd3c8a7478078b3c 100644 |
--- a/net/base/network_change_notifier.cc |
+++ b/net/base/network_change_notifier.cc |
@@ -547,6 +547,14 @@ NetworkChangeNotifier::GetConnectionType() { |
} |
// static |
+NetworkChangeNotifier::ConnectionSubtype |
+NetworkChangeNotifier::GetConnectionSubtype() { |
+ return g_network_change_notifier |
+ ? g_network_change_notifier->GetCurrentConnectionSubtype() |
+ : SUBTYPE_UNKNOWN; |
+} |
+ |
+// static |
void NetworkChangeNotifier::GetMaxBandwidthAndConnectionType( |
double* max_bandwidth_mbps, |
ConnectionType* connection_type) { |
@@ -985,6 +993,11 @@ NetworkChangeNotifier::GetAddressTrackerInternal() const { |
} |
#endif |
+NetworkChangeNotifier::ConnectionSubtype |
+NetworkChangeNotifier::GetCurrentConnectionSubtype() const { |
+ return SUBTYPE_UNKNOWN; |
+} |
+ |
void NetworkChangeNotifier::GetCurrentMaxBandwidthAndConnectionType( |
double* max_bandwidth_mbps, |
ConnectionType* connection_type) const { |