Index: net/android/network_change_notifier_android.h |
diff --git a/net/android/network_change_notifier_android.h b/net/android/network_change_notifier_android.h |
index 1acb84042ce01f636cf164d214acf5fe3aca2e67..61bec5368c3dfe3fa9a8ee5c90e225bfcd218806 100644 |
--- a/net/android/network_change_notifier_android.h |
+++ b/net/android/network_change_notifier_android.h |
@@ -49,11 +49,14 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierAndroid |
ConnectionType GetCurrentConnectionType() const override; |
// Requires ACCESS_WIFI_STATE permission in order to provide precise WiFi link |
// speed. |
- double GetCurrentMaxBandwidth() const override; |
+ void GetCurrentMaxBandwidthAndConnectionType( |
+ double* max_bandwidth_mbps, |
+ ConnectionType* connection_type) const override; |
// NetworkChangeNotifierDelegateAndroid::Observer: |
void OnConnectionTypeChanged() override; |
- void OnMaxBandwidthChanged(double max_bandwidth_mbps) override; |
+ void OnMaxBandwidthChanged(double max_bandwidth_mbps, |
+ ConnectionType type) override; |
static bool Register(JNIEnv* env); |