Chromium Code Reviews| Index: chrome/browser/about_flags.cc |
| diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc |
| index 7bc31c6e9011cd1ac0f9010f244131ce6e9d839f..5e2ca4d1b4ef72a1e35417568a0a7cbe678c44fa 100644 |
| --- a/chrome/browser/about_flags.cc |
| +++ b/chrome/browser/about_flags.cc |
| @@ -1078,6 +1078,15 @@ const FeatureEntry::FeatureVariation kOmniboxUIVerticalMarginVariations[] = { |
| {"14px vertical margin", kOmniboxUIVerticalMargin14px, |
| arraysize(kOmniboxUIVerticalMargin14px), nullptr}}; |
| +const FeatureEntry::FeatureParam kClientPlaceholdersForServerLoFiEnabled[] = { |
| + {"replace_server_placeholders", "true"}}; |
| + |
| +const FeatureEntry::FeatureVariation |
| + kClientPlaceholdersForServerLoFiFeatureVariations[] = { |
| + {"(replace Server LoFi placeholders)", |
|
megjablon
2017/06/30 18:19:21
nit: I'd use Lo-Fi since that's what we use in the
sclittle
2017/06/30 21:21:06
Done.
|
| + kClientPlaceholdersForServerLoFiEnabled, |
| + arraysize(kClientPlaceholdersForServerLoFiEnabled), nullptr}}; |
| + |
| // RECORDING USER METRICS FOR FLAGS: |
| // ----------------------------------------------------------------------------- |
| // The first line of the entry is the internal name. |
| @@ -1982,10 +1991,13 @@ const FeatureEntry kFeatureEntries[] = { |
| {"enable-offline-previews", flag_descriptions::kEnableOfflinePreviewsName, |
| flag_descriptions::kEnableOfflinePreviewsDescription, kOsAndroid, |
| FEATURE_VALUE_TYPE(previews::features::kOfflinePreviews)}, |
| - {"enable-client-lo-fi", flag_descriptions::kEnableClientLoFiName, |
| - flag_descriptions::kEnableClientLoFiDescription, kOsAndroid, |
| - FEATURE_VALUE_TYPE(previews::features::kClientLoFi)}, |
| #endif // OS_ANDROID |
| + {"enable-client-lo-fi", flag_descriptions::kEnableClientLoFiName, |
| + flag_descriptions::kEnableClientLoFiDescription, kOsAll, |
| + FEATURE_WITH_PARAMS_VALUE_TYPE( |
| + previews::features::kClientLoFi, |
| + kClientPlaceholdersForServerLoFiFeatureVariations, |
| + "PreviewsClientLoFi")}, |
| {"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhostName, |
| flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll, |
| SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)}, |