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

Unified Diff: chrome/browser/flag_descriptions.cc

Issue 2850003002: Add flag to override Effective Connection Type (Closed)
Patch Set: ps 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: chrome/browser/flag_descriptions.cc
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 876ad604474790fecbfd2603f7c48021f446743a..2c6f8cdf02a58f2997ba613c8ed618ee33786159 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -3042,4 +3042,18 @@ const char kOmniboxDisplayTitleForCurrentUrlDescription[] =
"the current page is provided as the first suggestion without a title. "
"Enabling this flag causes the title to be displayed.";
+const char kForceEffectiveConnectionTypeName[] =
+ "Experimental effective connection type";
RyanSturm 2017/05/01 23:08:35 All flags are experimental. "Simulate (or Override
tbansal1 2017/05/02 00:01:50 Done.
+
+const char kForceEffectiveConnectionTypeDescription[] =
+ "Overrides the effective connection type returned by the network quality "
+ "estimator.";
RyanSturm 2017/05/01 23:08:35 Add a terse description of what NQE is and what it
tbansal1 2017/05/02 00:01:50 added a bit more of text.
+
+const char kEffectiveConnectionTypeUnknownDescription[] = "Unknown";
+const char kEffectiveConnectionTypeOfflineDescription[] = "Offline";
+const char kEffectiveConnectionTypeSlow2GDescription[] = "Slow 2G";
+const char kEffectiveConnectionType2GDescription[] = "2G";
+const char kEffectiveConnectionType3GDescription[] = "3G";
+const char kEffectiveConnectionType4GDescription[] = "4G";
+
} // namespace flag_descriptions

Powered by Google App Engine
This is Rietveld 408576698