Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8557)

Unified Diff: components/password_manager/core/common/password_manager_switches.cc

Issue 451853003: [Password Manager] Setup experiment to restrict autofilling of sync credential (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unittest fix Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/password_manager/core/common/password_manager_switches.cc
diff --git a/components/password_manager/core/common/password_manager_switches.cc b/components/password_manager/core/common/password_manager_switches.cc
index 8ceab0f288f2bbb00eb2ae19542d3d5af3b81c01..846d5990def36a426ee2e5a76964684ab16849ea 100644
--- a/components/password_manager/core/common/password_manager_switches.cc
+++ b/components/password_manager/core/common/password_manager_switches.cc
@@ -8,6 +8,10 @@ namespace password_manager {
namespace switches {
+// Force the password manager to allow sync credentials to be autofilled.
+const char kAllowAutofillSyncCredential[] =
+ "allow-autofill-sync-credential";
+
// Disable the link in the password manager settings page that points to account
// central.
const char kDisableAndroidPasswordLink[] = "disable-android-password-link";
@@ -20,6 +24,15 @@ const char kDisableDropSyncCredential[] =
const char kDisableManagerForSyncSignin[] =
"disable-manager-for-sync-signin";
+// Disallow autofilling of the sync credential.
+const char kDisallowAutofillSyncCredential[] =
+ "disallow-autofill-sync-credential";
+
+// Disallow autofilling of the sync credential only for transactional reauth
+// pages.
+const char kDisallowAutofillSyncCredentialForReauth[] =
+ "disallow-autofill-sync-credential-for-reauth";
+
// Enable the link in the password manager settings page that points to account
// central.
const char kEnableAndroidPasswordLink[] = "enable-android-password-link";
« no previous file with comments | « components/password_manager/core/common/password_manager_switches.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698