Index: chrome/browser/android/net/external_estimate_provider_android.h |
diff --git a/chrome/browser/android/net/external_estimate_provider_android.h b/chrome/browser/android/net/external_estimate_provider_android.h |
index 21fa2d7aadf6d12c0ad6b59cdd6154b0bd4b0eec..69f6aaa7e6365c8183eaca1ba4eaf0ce7a19e236 100644 |
--- a/chrome/browser/android/net/external_estimate_provider_android.h |
+++ b/chrome/browser/android/net/external_estimate_provider_android.h |
@@ -15,7 +15,6 @@ |
#include "base/threading/thread_checker.h" |
#include "base/threading/thread_task_runner_handle.h" |
#include "base/time/time.h" |
-#include "net/base/network_change_notifier.h" |
#include "net/nqe/external_estimate_provider.h" |
namespace chrome { |
@@ -25,9 +24,7 @@ namespace android { |
// ExternalEstimateProviderAndroidHelper.java. Provides network quality |
// estimates as provided by Android. Estimates are automatically updated on a |
// network change event. |
-class ExternalEstimateProviderAndroid |
- : public net::NetworkChangeNotifier::ConnectionTypeObserver, |
- public net::ExternalEstimateProvider { |
+class ExternalEstimateProviderAndroid : public net::ExternalEstimateProvider { |
public: |
// Constructs and initializes the underlying provider. |
ExternalEstimateProviderAndroid(); |
@@ -47,10 +44,6 @@ class ExternalEstimateProviderAndroid |
override; |
void Update() const override; |
- // NetworkChangeNotifier::ConnectionTypeObserver implementation. |
- void OnConnectionTypeChanged( |
- net::NetworkChangeNotifier::ConnectionType type) override; |
- |
// Called by Java when the external estimate provider has an updated value. |
// This may be called on a thread different from |task_runner_|. |
void NotifyExternalEstimateProviderAndroidUpdate( |