Revert "[AF] GoogleBlue50 as Autofill's field preview bg color"

This reverts commit 3fbdb522f0f5cec2e6149a5e99950628cf5c407d.

Reason for revert: failing on Mac10.10 and Mac10.11

Original change's description:
> [AF] GoogleBlue50 as Autofill's field preview bg color
>
> This basically reverts the experimentation scaffolding introduced by
> crrev.com/1174710, and makes GoogleBlue50 the field preview bg color
> for Autofill and Autocomplete.
>
> Bug: 935991
> Change-Id: Id821f57c5a2954d502ca241e4414fd452cc501ce
> Reviewed-on: https://chromium-review.googlesource.com/c/1489173
> Commit-Queue: Fabio Tirelo <[email protected]>
> Reviewed-by: Kent Tamura <[email protected]>
> Reviewed-by: Tommy Martino <[email protected]>
> Cr-Commit-Position: refs/heads/master@{#636103}

[email protected],[email protected],[email protected]

Change-Id: Id05bd9c4b40aa79130779d4602791678566d9c60
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 935991
Reviewed-on: https://chromium-review.googlesource.com/c/1492437
Commit-Queue: Ella Ge <[email protected]>
Reviewed-by: Ella Ge <[email protected]>
Cr-Commit-Position: refs/heads/master@{#636133}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 6481cb6..9449c4b 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -684,6 +684,49 @@
      switches::kForceDisplayColorProfile, "scrgb-linear"},
 };
 
+const FeatureEntry::FeatureParam kAutofillPreviewStyleBlackOnBlue050[] = {
+    {blink::features::kAutofillPreviewStyleExperimentBgColorParameterName,
+     "#E8F0FE"},
+    {blink::features::kAutofillPreviewStyleExperimentColorParameterName,
+     "#000000"},
+};
+const FeatureEntry::FeatureParam kAutofillPreviewStyleBlackOnBlue100[] = {
+    {blink::features::kAutofillPreviewStyleExperimentBgColorParameterName,
+     "#D2E3FC"},
+    {blink::features::kAutofillPreviewStyleExperimentColorParameterName,
+     "#000000"},
+};
+const FeatureEntry::FeatureParam kAutofillPreviewStyleBlue900OnBlue050[] = {
+    {blink::features::kAutofillPreviewStyleExperimentBgColorParameterName,
+     "#E8F0FE"},
+    {blink::features::kAutofillPreviewStyleExperimentColorParameterName,
+     "#174EA6"},
+};
+const FeatureEntry::FeatureParam kAutofillPreviewStyleBlackOnGreen050[] = {
+    {blink::features::kAutofillPreviewStyleExperimentBgColorParameterName,
+     "#E6F4EA"},
+    {blink::features::kAutofillPreviewStyleExperimentColorParameterName,
+     "#000000"},
+};
+const FeatureEntry::FeatureParam kAutofillPreviewStyleBlackOnYellow050[] = {
+    {blink::features::kAutofillPreviewStyleExperimentBgColorParameterName,
+     "#FEF7E0"},
+    {blink::features::kAutofillPreviewStyleExperimentColorParameterName,
+     "#000000"},
+};
+
+const FeatureEntry::FeatureVariation kAutofillPreviewStyleVariations[] = {
+    {"(Black on GoogleBlue050)", kAutofillPreviewStyleBlackOnBlue050,
+     base::size(kAutofillPreviewStyleBlackOnBlue050), nullptr},
+    {"(Black on GoogleBlue100)", kAutofillPreviewStyleBlackOnBlue100,
+     base::size(kAutofillPreviewStyleBlackOnBlue100), nullptr},
+    {"(GoogleBlue900 on GoogleBlue050)", kAutofillPreviewStyleBlue900OnBlue050,
+     base::size(kAutofillPreviewStyleBlue900OnBlue050), nullptr},
+    {"(Black on GoogleGreen050)", kAutofillPreviewStyleBlackOnGreen050,
+     base::size(kAutofillPreviewStyleBlackOnGreen050), nullptr},
+    {"(Black on GoogleYellow050)", kAutofillPreviewStyleBlackOnYellow050,
+     base::size(kAutofillPreviewStyleBlackOnYellow050), nullptr}};
+
 const FeatureEntry::Choice kAutoplayPolicyChoices[] = {
     {flags_ui::kGenericExperimentChoiceDefault, "", ""},
     {flag_descriptions::kAutoplayPolicyNoUserGestureRequired,
@@ -3362,6 +3405,14 @@
      flag_descriptions::kAutofillDynamicFormsDescription, kOsAll,
      FEATURE_VALUE_TYPE(autofill::features::kAutofillDynamicForms)},
 
+    {"autofill-preview-style",
+     flag_descriptions::kAutofillPreviewStyleExperimentName,
+     flag_descriptions::kAutofillPreviewStyleExperimentDescription, kOsAll,
+     FEATURE_WITH_PARAMS_VALUE_TYPE(
+         blink::features::kAutofillPreviewStyleExperiment,
+         kAutofillPreviewStyleVariations,
+         "AutofillPreviewStyle")},
+
     {"autofill-prefilled-fields",
      flag_descriptions::kAutofillPrefilledFieldsName,
      flag_descriptions::kAutofillPrefilledFieldsDescription, kOsAll,