| 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..6588adc37f97bccc3d8217535f09c4c63d66832c 100644
|
| --- a/net/base/network_change_notifier_linux.cc
|
| +++ b/net/base/network_change_notifier_linux.cc
|
| @@ -82,6 +82,14 @@ void NetworkChangeNotifierLinux::Thread::OnLinkChanged() {
|
| if (last_type_ != GetCurrentConnectionType()) {
|
| NetworkChangeNotifier::NotifyObserversOfConnectionTypeChange();
|
| last_type_ = GetCurrentConnectionType();
|
| + double max_bandwidth =
|
| + last_type_ == CONNECTION_NONE
|
| + ? NetworkChangeNotifier::GetMaxBandwidthForConnectionSubtype(
|
| + SUBTYPE_NONE)
|
| + : NetworkChangeNotifier::GetMaxBandwidthForConnectionSubtype(
|
| + SUBTYPE_UNKNOWN);
|
| + NetworkChangeNotifier::NotifyObserversOfMaxBandwidthChange(last_type_,
|
| + max_bandwidth);
|
| }
|
| }
|
|
|
|
|