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..20cd3feac34506f5210a82be08e1cf8710eed787 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,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); |