Commit 09d23a0b authored by Jan Wilken Dörrie's avatar Jan Wilken Dörrie Committed by Commit Bot

[Passwords] Introduce Feature Flag for Touch To Fill

This change introduces a feature flag for the upcoming Touch To Fill
feature on Android. Furthermore it rearranges the definitions of
Password Manager flags so that they are sorted alphabetically and match
the order of declaration in the header file.

Bug: 957532
Change-Id: I69445c15231bffbdd2852ade004a0279c364fa79
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1587028Reviewed-by: default avatarVasilii Sukhanov <vasilii@chromium.org>
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
Cr-Commit-Position: refs/heads/master@{#654861}
parent 34ae9220
...@@ -20,19 +20,6 @@ const base::Feature kEditPasswordsInDesktopSettings = { ...@@ -20,19 +20,6 @@ const base::Feature kEditPasswordsInDesktopSettings = {
const base::Feature kDeleteCorruptedPasswords = { const base::Feature kDeleteCorruptedPasswords = {
"DeleteCorruptedPasswords", base::FEATURE_DISABLED_BY_DEFAULT}; "DeleteCorruptedPasswords", base::FEATURE_DISABLED_BY_DEFAULT};
// Controls the ability to import passwords from Chrome's settings page.
const base::Feature kPasswordImport = {"PasswordImport",
base::FEATURE_DISABLED_BY_DEFAULT};
// Adds password-related features to the keyboard accessory on mobile devices.
const base::Feature kPasswordsKeyboardAccessory = {
"PasswordsKeyboardAccessory", base::FEATURE_DISABLED_BY_DEFAULT};
// Deletes entries from local database on Mac which cannot be decrypted when
// merging data with Sync.
const base::Feature kRecoverPasswordsForSyncUsers = {
"RecoverPasswordsForSyncUsers", base::FEATURE_ENABLED_BY_DEFAULT};
// Enables the experiment for the password manager to only fill on account // Enables the experiment for the password manager to only fill on account
// selection, rather than autofilling on page load, with highlighting of fields. // selection, rather than autofilling on page load, with highlighting of fields.
const base::Feature kFillOnAccountSelect = {"fill-on-account-select", const base::Feature kFillOnAccountSelect = {"fill-on-account-select",
...@@ -47,6 +34,16 @@ const base::Feature kFillOnAccountSelectHttp = { ...@@ -47,6 +34,16 @@ const base::Feature kFillOnAccountSelectHttp = {
const base::Feature kGooglePasswordManager = { const base::Feature kGooglePasswordManager = {
"google-password-manager", base::FEATURE_DISABLED_BY_DEFAULT}; "google-password-manager", base::FEATURE_DISABLED_BY_DEFAULT};
// Controls whether to offer manual password generation in the accessory sheet
// on Android.
const base::Feature kManualPasswordGenerationAndroid{
"ManualPasswordGenerationAndroid", base::FEATURE_DISABLED_BY_DEFAULT};
// Performs a one-off migration (with retries) from a native backend into
// logindb. Passwords are served from the new location.
const base::Feature kMigrateLinuxToLoginDB = {"migrate-linux-to-logindb",
base::FEATURE_ENABLED_BY_DEFAULT};
// Enables new password form parsing mechanism for filling passwords, details in // Enables new password form parsing mechanism for filling passwords, details in
// https://goo.gl/QodPH1 // https://goo.gl/QodPH1
const base::Feature kNewPasswordFormParsing = { const base::Feature kNewPasswordFormParsing = {
...@@ -62,15 +59,22 @@ const base::Feature kNewPasswordFormParsingForSaving = { ...@@ -62,15 +59,22 @@ const base::Feature kNewPasswordFormParsingForSaving = {
const base::Feature kOnlyNewParser = {"only-new-password-form-parsing", const base::Feature kOnlyNewParser = {"only-new-password-form-parsing",
base::FEATURE_DISABLED_BY_DEFAULT}; base::FEATURE_DISABLED_BY_DEFAULT};
// Controls whether to offer manual password generation in the accessory sheet // Controls the ability to import passwords from Chrome's settings page.
// on Android. const base::Feature kPasswordImport = {"PasswordImport",
const base::Feature kManualPasswordGenerationAndroid{ base::FEATURE_DISABLED_BY_DEFAULT};
"ManualPasswordGenerationAndroid", base::FEATURE_DISABLED_BY_DEFAULT};
// Performs a one-off migration (with retries) from a native backend into // Adds password-related features to the keyboard accessory on mobile devices.
// logindb. Passwords are served from the new location. const base::Feature kPasswordsKeyboardAccessory = {
const base::Feature kMigrateLinuxToLoginDB = {"migrate-linux-to-logindb", "PasswordsKeyboardAccessory", base::FEATURE_DISABLED_BY_DEFAULT};
base::FEATURE_ENABLED_BY_DEFAULT};
// Deletes entries from local database on Mac which cannot be decrypted when
// merging data with Sync.
const base::Feature kRecoverPasswordsForSyncUsers = {
"RecoverPasswordsForSyncUsers", base::FEATURE_ENABLED_BY_DEFAULT};
// Enables the touch to fill feature for Android.
const base::Feature kTouchToFillAndroid = {"TouchToFillAndroid",
base::FEATURE_DISABLED_BY_DEFAULT};
// Field trial identifier for password generation requirements. // Field trial identifier for password generation requirements.
const char* kGenerationRequirementsFieldTrial = const char* kGenerationRequirementsFieldTrial =
......
...@@ -30,6 +30,7 @@ extern const base::Feature kOnlyNewParser; ...@@ -30,6 +30,7 @@ extern const base::Feature kOnlyNewParser;
extern const base::Feature kPasswordImport; extern const base::Feature kPasswordImport;
extern const base::Feature kPasswordsKeyboardAccessory; extern const base::Feature kPasswordsKeyboardAccessory;
extern const base::Feature kRecoverPasswordsForSyncUsers; extern const base::Feature kRecoverPasswordsForSyncUsers;
extern const base::Feature kTouchToFillAndroid;
// Field trial and corresponding parameters. // Field trial and corresponding parameters.
// To manually override this, start Chrome with the following parameters: // To manually override this, start Chrome with the following parameters:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment