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

Unified Diff: chrome/browser/about_flags.cc

Issue 2930323003: Show client placeholders for Server LoFi images. (Closed)
Patch Set: Added field trial and command line switch controls 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
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 9ec24e7299ca4603becfbac15b1d2c5880967d21..3b4a97c5e4197ca5cd9d98cfbe0b0bf59d6e23fd 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1899,6 +1899,13 @@ const FeatureEntry kFeatureEntries[] = {
flag_descriptions::kEnableDataReductionProxyServerExperimentName,
flag_descriptions::kEnableDataReductionProxyServerExperimentDescription,
kOsAll, MULTI_VALUE_TYPE(kDataReductionProxyServerExperiment)},
+ {"enable-show-client-placeholders-for-server-lo-fi",
megjablon 2017/06/29 17:35:48 You could probably shorten this everywhere by remo
sclittle 2017/06/29 21:27:58 Done.
+ flag_descriptions::kEnableShowClientPlaceholdersForServerLoFiName,
+ flag_descriptions::kEnableShowClientPlaceholdersForServerLoFiDescription,
+ kOsAll,
+ ENABLE_DISABLE_VALUE_TYPE(
+ switches::kEnableShowClientPlaceholdersForServerLoFi,
+ switches::kDisableShowClientPlaceholdersForServerLoFi)},
megjablon 2017/06/29 17:35:48 We should probably be using a feature instead of a
sclittle 2017/06/29 21:27:58 Great idea, thanks! Done.
megjablon 2017/06/30 18:19:21 Woot! This looks a lot cleaner!
#if defined(OS_ANDROID)
{"enable-data-reduction-proxy-savings-promo",
flag_descriptions::kEnableDataReductionProxySavingsPromoName,
« no previous file with comments | « no previous file | chrome/browser/flag_descriptions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698