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

Unified Diff: net/nqe/effective_connection_type.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/effective_connection_type.h
diff --git a/net/nqe/effective_connection_type.h b/net/nqe/effective_connection_type.h
index 7f11ad06b8834216866bccf7c21952e1dda9ff50..b8fcc30e97bc65ef94c2da2b45d69d43bf2d2169 100644
--- a/net/nqe/effective_connection_type.h
+++ b/net/nqe/effective_connection_type.h
@@ -10,6 +10,13 @@
namespace net {
+NET_EXPORT extern const char kEffectiveConnectionTypeUnknown[];
+NET_EXPORT extern const char kEffectiveConnectionTypeOffline[];
+NET_EXPORT extern const char kEffectiveConnectionTypeSlow2G[];
+NET_EXPORT extern const char kEffectiveConnectionType2G[];
+NET_EXPORT extern const char kEffectiveConnectionType3G[];
+NET_EXPORT extern const char kEffectiveConnectionType4G[];
+
// EffectiveConnectionType is the connection type whose typical performance is
// most similar to the measured performance of the network in use. In many
// cases, the "effective" connection type and the actual type of connection in

Powered by Google App Engine
This is Rietveld 408576698