[AF] Add supported additional domains for credit card upload save

Also adds about_flags entries for the flag for the new supported
domains, as well as the original flag to support ALL domains.

Bug: 1316736
Change-Id: I6d77a455e194ae4a05c5d073b514217087f4fb37
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3588879
Reviewed-by: Siyu An <[email protected]>
Reviewed-by: Evan Stade <[email protected]>
Reviewed-by: Michael Bai <[email protected]>
Commit-Queue: Jared Saul <[email protected]>
Cr-Commit-Position: refs/heads/main@{#993965}
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index c6b8cd72..5ff7b108 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -446,6 +446,19 @@
     "of the card number, exp date and CVC fields are detected in a payment "
     "form.";
 
+const char kAutofillUpstreamAllowAdditionalEmailDomainsName[] =
+    "Allow Autofill credit card upload save for select non-Google-based "
+    "accounts";
+const char kAutofillUpstreamAllowAdditionalEmailDomainsDescription[] =
+    "When enabled, credit card upload is offered if the user's logged-in "
+    "account's domain is from a common email provider.";
+
+const char kAutofillUpstreamAllowAllEmailDomainsName[] =
+    "Allow Autofill credit card upload save for all non-Google-based accounts";
+const char kAutofillUpstreamAllowAllEmailDomainsDescription[] =
+    "When enabled, credit card upload is offered without regard to the user's "
+    "logged-in account's domain.";
+
 const char kAutofillUseImprovedLabelDisambiguationName[] =
     "Autofill Uses Improved Label Disambiguation";
 const char kAutofillUseImprovedLabelDisambiguationDescription[] =