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

Unified Diff: net/nqe/network_quality_estimator_params.h

Issue 2850003002: Add flag to override Effective Connection Type (Closed)
Patch Set: ryansturm nits Created 3 years, 8 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: net/nqe/network_quality_estimator_params.h
diff --git a/net/nqe/network_quality_estimator_params.h b/net/nqe/network_quality_estimator_params.h
index 9996735c4902a6625619bf53b66c494f5b3c0877..21e93e90a0869a74a1180538043c94615ca86885 100644
--- a/net/nqe/network_quality_estimator_params.h
+++ b/net/nqe/network_quality_estimator_params.h
@@ -10,12 +10,17 @@
#include "base/macros.h"
#include "base/threading/thread_checker.h"
+#include "net/base/net_export.h"
#include "net/base/network_change_notifier.h"
#include "net/nqe/effective_connection_type.h"
#include "net/nqe/network_quality.h"
namespace net {
+// Forces NQE to return a specific effective connection type. Set using the
+// |params| provided to the NetworkQualityEstimatorParams constructor.
+NET_EXPORT extern const char kForceEffectiveConnectionType[];
+
namespace nqe {
namespace internal {

Powered by Google App Engine
This is Rietveld 408576698