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

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

Issue 898553002: Add flag to enable/disable affiliaton based matching. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Work on terminology. Created 5 years, 10 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 3b71d82ef8c46c9a21819c56ffa6acf2e7760c4b..f230891292873e7857a6e64b796a00c900b614ef 100644
--- a/components/password_manager/core/common/password_manager_switches.cc
+++ b/components/password_manager/core/common/password_manager_switches.cc
@@ -11,6 +11,12 @@ namespace switches {
// Force the password manager to allow sync credentials to be autofilled.
const char kAllowAutofillSyncCredential[] = "allow-autofill-sync-credential";
+// Disable affiliation based matching, so that credentials stored for an Android
+// application will not be considered matches for, and will not be filled into
+// corresponding Web applications.
+const char kDisableAffiliationBasedMatching[] =
+ "disable-affiliation-based-matching";
+
// Disable dropping the credential used to sync passwords.
const char kDisableDropSyncCredential[] = "disable-drop-sync-credential";
@@ -30,6 +36,12 @@ const char kDisallowAutofillSyncCredential[] =
const char kDisallowAutofillSyncCredentialForReauth[] =
"disallow-autofill-sync-credential-for-reauth";
+// Enable affiliation based matching, so that credentials stored for an Android
+// application will also be considered matches for, and be filled into
+// corresponding Web applications.
+const char kEnableAffiliationBasedMatching[] =
+ "enable-affiliation-based-matching";
+
// Disables the save-password prompt. Passwords are then saved automatically,
// without asking the user.
const char kEnableAutomaticPasswordSaving[] =

Powered by Google App Engine
This is Rietveld 408576698