Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1506)

Unified Diff: components/metrics/net/network_metrics_provider.cc

Issue 2927453002: Make NQE a derived class of NetworkQualityProvider (Closed)
Patch Set: some more IWYU fixes Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/metrics/net/network_metrics_provider.cc
diff --git a/components/metrics/net/network_metrics_provider.cc b/components/metrics/net/network_metrics_provider.cc
index cd2f4f5b0f37c31a86a7bd48d6be44177678cba1..643b4ae558aa547f09685ed904c653b0e6e51af4 100644
--- a/components/metrics/net/network_metrics_provider.cc
+++ b/components/metrics/net/network_metrics_provider.cc
@@ -21,6 +21,7 @@
#include "base/threading/thread_task_runner_handle.h"
#include "build/build_config.h"
#include "net/base/net_errors.h"
+#include "net/nqe/effective_connection_type_observer.h"
#include "net/nqe/network_quality_estimator.h"
#if defined(OS_CHROMEOS)
@@ -45,7 +46,7 @@ void GetAndSetNetworkQualityEstimator(
// Listens to the changes in the effective conection type.
class NetworkMetricsProvider::EffectiveConnectionTypeObserver
- : public net::NetworkQualityEstimator::EffectiveConnectionTypeObserver {
+ : public net::EffectiveConnectionTypeObserver {
public:
// |network_quality_estimator| is used to provide the network quality
// estimates. Guaranteed to be non-null. |callback| is run on

Powered by Google App Engine
This is Rietveld 408576698