Adding a flag for new Password Form parsing.
This flag will be used for developing new Password Manager design and
form parsing (details go/new-cpm-design-refactoring).
Bug: 831123
Change-Id: I4b1becd5d926b6d8e3d841094f793d901c7998e6
Reviewed-on: https://chromium-review.googlesource.com/1016648
Commit-Queue: Vadym Doroshenko <[email protected]>
Reviewed-by: Vaclav Brozek <[email protected]>
Cr-Commit-Position: refs/heads/master@{#551668}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index cc1b5fd..035ec55e 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1639,6 +1639,10 @@
flag_descriptions::kManualPasswordGenerationDescription, kOsAll,
FEATURE_VALUE_TYPE(
password_manager::features::kEnableManualPasswordGeneration)},
+ {"new-password-form-parsing",
+ flag_descriptions::kNewPasswordFormParsingName,
+ flag_descriptions::kNewPasswordFormParsingDescription, kOsAll,
+ FEATURE_VALUE_TYPE(password_manager::features::kNewPasswordFormParsing)},
{"enable-show-autofill-signatures",
flag_descriptions::kShowAutofillSignaturesName,
flag_descriptions::kShowAutofillSignaturesDescription, kOsAll,
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index ea46365b..5eb5d07 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -968,6 +968,12 @@
const char kNewBookmarkAppsDescription[] =
"Enables the new system for creating bookmark apps.";
+const char kNewPasswordFormParsingName[] = "New password form parsing";
+const char kNewPasswordFormParsingDescription[] =
+ "Replaces existing form parsing in password manager with a new version, "
+ "currently under development. WARNING: when enabled Password Manager might "
+ "stop working";
+
const char kNewRemotePlaybackPipelineName[] =
"Enable the new remote playback pipeline.";
const char kNewRemotePlaybackPipelineDescription[] =
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index cbea73da..abc5ed1 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -616,6 +616,9 @@
extern const char kNewBookmarkAppsName[];
extern const char kNewBookmarkAppsDescription[];
+extern const char kNewPasswordFormParsingName[];
+extern const char kNewPasswordFormParsingDescription[];
+
extern const char kNewRemotePlaybackPipelineName[];
extern const char kNewRemotePlaybackPipelineDescription[];