Index: net/base/network_change_notifier_linux.cc |
diff --git a/net/base/network_change_notifier_linux.cc b/net/base/network_change_notifier_linux.cc |
index 7e471726d9aaaa58b0ab9fc0582e320487f783a5..40099676cf80e03c940bbcce04ec81dc7a7edf05 100644 |
--- a/net/base/network_change_notifier_linux.cc |
+++ b/net/base/network_change_notifier_linux.cc |
@@ -82,6 +82,11 @@ void NetworkChangeNotifierLinux::Thread::OnLinkChanged() { |
if (last_type_ != GetCurrentConnectionType()) { |
NetworkChangeNotifier::NotifyObserversOfConnectionTypeChange(); |
last_type_ = GetCurrentConnectionType(); |
+ double max_bandwidth_mbps = |
+ NetworkChangeNotifier::GetMaxBandwidthForConnectionSubtype( |
+ last_type_ == CONNECTION_NONE ? SUBTYPE_NONE : SUBTYPE_UNKNOWN); |
+ NetworkChangeNotifier::NotifyObserversOfMaxBandwidthChange( |
+ max_bandwidth_mbps, last_type_); |
} |
} |