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 57d29b84669ca8ebd38256990a58c6087a17fe17..7710c26e15f409c40aa05135cd0da654186f500f 100644 |
--- a/net/android/network_change_notifier_android.h |
+++ b/net/android/network_change_notifier_android.h |
@@ -46,12 +46,19 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierAndroid |
// NetworkChangeNotifier: |
virtual ConnectionType GetCurrentConnectionType() const override; |
+ // Requires ACCESS_WIFI_STATE permission in order to provide precise WiFi link |
+ // speed. |
+ virtual double GetCurrentMaxBandwidth() const override; |
// NetworkChangeNotifierDelegateAndroid::Observer: |
virtual void OnConnectionTypeChanged() override; |
static bool Register(JNIEnv* env); |
+ // Promote GetMaxBandwidthForConnectionSubtype to public for the Android |
+ // delegate class. |
+ using NetworkChangeNotifier::GetMaxBandwidthForConnectionSubtype; |
+ |
private: |
friend class NetworkChangeNotifierAndroidTest; |
friend class NetworkChangeNotifierFactoryAndroid; |