| Index: net/android/network_change_notifier_delegate_android.h
|
| diff --git a/net/android/network_change_notifier_delegate_android.h b/net/android/network_change_notifier_delegate_android.h
|
| index 93133f3c712762543ff9509670f026a956616a81..b6732f5f09f0db3ef6daf7667ff10bc2e10a7777 100644
|
| --- a/net/android/network_change_notifier_delegate_android.h
|
| +++ b/net/android/network_change_notifier_delegate_android.h
|
| @@ -35,7 +35,8 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierDelegateAndroid {
|
| virtual void OnConnectionTypeChanged() = 0;
|
|
|
| // Updates the current max bandwidth.
|
| - virtual void OnMaxBandwidthChanged(double max_bandwidth_mbps) = 0;
|
| + virtual void OnMaxBandwidthChanged(ConnectionType connection_type,
|
| + double max_bandwidth_mbps) = 0;
|
| };
|
|
|
| NetworkChangeNotifierDelegateAndroid();
|
| @@ -67,7 +68,8 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierDelegateAndroid {
|
| ConnectionType GetCurrentConnectionType() const;
|
|
|
| // Can be called from any thread.
|
| - double GetCurrentMaxBandwidth() const;
|
| + double GetCurrentMaxBandwidthAndConnectionType(
|
| + ConnectionType* connection_type) const;
|
|
|
| // Initializes JNI bindings.
|
| static bool Register(JNIEnv* env);
|
|
|