[Autofill profile sync] Create an about:flag for the USS implementation

Bug: 836718
Change-Id: I97c423d880509bdc27893ef85e7402e7c58bb16d
Reviewed-on: https://chromium-review.googlesource.com/1203655
Reviewed-by: Mohamed Amir Yosef <[email protected]>
Commit-Queue: Jan Krcal <[email protected]>
Cr-Commit-Position: refs/heads/master@{#588532}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 3ae8c5b..4613af7ad 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -4345,6 +4345,11 @@
      SINGLE_VALUE_TYPE(chromeos::switches::kEnableChromevoxDeveloperOption)},
 #endif
 
+    {"sync-USS-autofill-profile",
+     flag_descriptions::kSyncUSSAutofillProfileName,
+     flag_descriptions::kSyncUSSAutofillProfileDescription, kOsAll,
+     FEATURE_VALUE_TYPE(switches::kSyncUSSAutofillProfile)},
+
     {"sync-USS-autofill-wallet-data",
      flag_descriptions::kSyncUSSAutofillWalletDataName,
      flag_descriptions::kSyncUSSAutofillWalletDataDescription, kOsAll,
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index a8bbfe2..ed58d0f 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -1826,6 +1826,10 @@
     "a signed-in account that has not been chosen as Chrome's primary account. "
     "This only has an effect if sync-standalone-transport is also enabled.";
 
+const char kSyncUSSAutofillProfileName[] = "Enable USS for autofill profile";
+const char kSyncUSSAutofillProfileDescription[] =
+    "Enables the new implementation of autofill profile sync";
+
 const char kSyncUSSAutofillWalletDataName[] =
     "Enable USS for autofill wallet data";
 const char kSyncUSSAutofillWalletDataDescription[] =
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index bd681c4..fbf4f1d 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -1109,6 +1109,9 @@
 extern const char kSyncSupportSecondaryAccountName[];
 extern const char kSyncSupportSecondaryAccountDescription[];
 
+extern const char kSyncUSSAutofillProfileName[];
+extern const char kSyncUSSAutofillProfileDescription[];
+
 extern const char kSyncUSSAutofillWalletDataName[];
 extern const char kSyncUSSAutofillWalletDataDescription[];