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

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

Issue 1140043003: Add a flag for the password manager force-saving experiment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added the required experiment metric. Created 5 years, 7 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/experiments.cc
diff --git a/components/password_manager/core/common/experiments.cc b/components/password_manager/core/common/experiments.cc
index 94fd32ff75941ddb78fa76efecad2a85fe7698fd..cfc74f0b8cc62ff942847164e8e853738d434dc7 100644
--- a/components/password_manager/core/common/experiments.cc
+++ b/components/password_manager/core/common/experiments.cc
@@ -24,4 +24,9 @@ bool ManageAccountLinkExperimentEnabled() {
return group_name == "Enabled";
}
+bool ForceSavingExperimentEnabled() {
+ return base::CommandLine::ForCurrentProcess()->HasSwitch(
+ password_manager::switches::kEnablePasswordForceSaving);
+}
+
} // namespace password_manager

Powered by Google App Engine
This is Rietveld 408576698