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

Unified Diff: net/nqe/effective_connection_type.cc

Issue 2850003002: Add flag to override Effective Connection Type (Closed)
Patch Set: Rebased Created 3 years, 7 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
« no previous file with comments | « net/nqe/effective_connection_type.h ('k') | net/nqe/network_quality_estimator_params.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/nqe/effective_connection_type.cc
diff --git a/net/nqe/effective_connection_type.cc b/net/nqe/effective_connection_type.cc
index 5fb2a6e34069936b1bf5d4996b9f44f42f6c19c9..b0f61a699ecbb4e653a1a97a233a434213304bab 100644
--- a/net/nqe/effective_connection_type.cc
+++ b/net/nqe/effective_connection_type.cc
@@ -8,17 +8,18 @@
namespace {
+const char kDeprectedEffectiveConnectionTypeSlow2G[] = "Slow2G";
+
+} // namespace
+
+namespace net {
+
const char kEffectiveConnectionTypeUnknown[] = "Unknown";
const char kEffectiveConnectionTypeOffline[] = "Offline";
const char kEffectiveConnectionTypeSlow2G[] = "Slow-2G";
const char kEffectiveConnectionType2G[] = "2G";
const char kEffectiveConnectionType3G[] = "3G";
const char kEffectiveConnectionType4G[] = "4G";
-const char kDeprectedEffectiveConnectionTypeSlow2G[] = "Slow2G";
-
-} // namespace
-
-namespace net {
const char* GetNameForEffectiveConnectionType(EffectiveConnectionType type) {
switch (type) {
« no previous file with comments | « net/nqe/effective_connection_type.h ('k') | net/nqe/network_quality_estimator_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698