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

Unified Diff: chrome/browser/about_flags.cc

Issue 421563003: [Password Manager] Add experiment controlling sync credential saving behavior (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | components/password_manager/core/browser/password_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 6b8e4ac970a9e3bd62f36b5bebd8ece6c0af6cf9..05a36fcea92c81ad70875aacae8d48afb0a958cd 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -499,6 +499,14 @@ const Experiment::Choice kRememberCertificateErrorDecisionsChoices[] = {
"7776000" },
};
+const Experiment::Choice kEnableDropSyncCredentialChoices[] = {
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DEFAULT, "", ""},
+ { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
+ password_manager::switches::kEnableDropSyncCredential, "" },
+ { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
+ password_manager::switches::kDisableDropSyncCredential, "" },
+};
+
// RECORDING USER METRICS FOR FLAGS:
// -----------------------------------------------------------------------------
// The first line of the experiment is the internal name. If you'd like to
@@ -1917,6 +1925,13 @@ const Experiment kExperiments[] = {
kOsAll,
MULTI_VALUE_TYPE(kRememberCertificateErrorDecisionsChoices)
},
+ {
+ "enable-drop-sync-credential",
+ IDS_FLAGS_ENABLE_DROP_SYNC_CREDENTIAL_NAME,
+ IDS_FLAGS_ENABLE_DROP_SYNC_CREDENTIAL_DESCRIPTION,
+ kOsAll,
+ MULTI_VALUE_TYPE(kEnableDropSyncCredentialChoices)
+ }
};
const Experiment* experiments = kExperiments;
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | components/password_manager/core/browser/password_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698