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..92c8183e159db182c72f7c01cc9c0631ad67b495 100644 |
--- a/net/android/network_change_notifier_android.h |
+++ b/net/android/network_change_notifier_android.h |
@@ -49,11 +49,13 @@ 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; |
+ double GetCurrentMaxBandwidthAndConnectionType( |
+ ConnectionType* connection_type) const override; |
// NetworkChangeNotifierDelegateAndroid::Observer: |
void OnConnectionTypeChanged() override; |
- void OnMaxBandwidthChanged(double max_bandwidth_mbps) override; |
+ void OnMaxBandwidthChanged(ConnectionType type, |
+ double max_bandwidth_mbps) override; |
static bool Register(JNIEnv* env); |