| Index: net/android/network_change_notifier_android.cc
|
| diff --git a/net/android/network_change_notifier_android.cc b/net/android/network_change_notifier_android.cc
|
| index 982923507d8a1b2321b49771e8390e66ae350f32..8b3656933ebcb6735058ad3acb40e92c1687ceb5 100644
|
| --- a/net/android/network_change_notifier_android.cc
|
| +++ b/net/android/network_change_notifier_android.cc
|
| @@ -144,8 +144,9 @@ NetworkChangeNotifierAndroid::GetCurrentConnectionType() const {
|
| return delegate_->GetCurrentConnectionType();
|
| }
|
|
|
| -double NetworkChangeNotifierAndroid::GetCurrentMaxBandwidth() const {
|
| - return delegate_->GetCurrentMaxBandwidth();
|
| +double NetworkChangeNotifierAndroid::GetCurrentMaxBandwidthAndConnectionType(
|
| + ConnectionType* connection_type) const {
|
| + return delegate_->GetCurrentMaxBandwidthAndConnectionType(connection_type);
|
| }
|
|
|
| void NetworkChangeNotifierAndroid::OnConnectionTypeChanged() {
|
| @@ -153,9 +154,10 @@ void NetworkChangeNotifierAndroid::OnConnectionTypeChanged() {
|
| }
|
|
|
| void NetworkChangeNotifierAndroid::OnMaxBandwidthChanged(
|
| + ConnectionType type,
|
| double max_bandwidth_mbps) {
|
| NetworkChangeNotifier::NotifyObserversOfMaxBandwidthChange(
|
| - max_bandwidth_mbps);
|
| + type, max_bandwidth_mbps);
|
| }
|
|
|
| // static
|
|
|