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..e1f874ab267d30c7442205f7e3d83aa53833369c 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(double max_bandwidth_mbps, |
+ ConnectionType connection_type) = 0; |
}; |
NetworkChangeNotifierDelegateAndroid(); |
@@ -67,7 +68,9 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierDelegateAndroid { |
ConnectionType GetCurrentConnectionType() const; |
// Can be called from any thread. |
- double GetCurrentMaxBandwidth() const; |
+ void GetCurrentMaxBandwidthAndConnectionType( |
+ double* max_bandwidth_mbps, |
+ ConnectionType* connection_type) const; |
// Initializes JNI bindings. |
static bool Register(JNIEnv* env); |