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

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

Issue 1193143003: Enable import/export of passwords into/from Password Manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 5 years, 5 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 cfc74f0b8cc62ff942847164e8e853738d434dc7..3298bd80e3d103236cbed0c750c000f5e420ceae 100644
--- a/components/password_manager/core/common/experiments.cc
+++ b/components/password_manager/core/common/experiments.cc
@@ -29,4 +29,10 @@ bool ForceSavingExperimentEnabled() {
password_manager::switches::kEnablePasswordForceSaving);
}
+bool ImportExportExperimentEnabled() {
+ std::string group_name =
+ base::FieldTrialList::FindFullName("PasswordImportExport");
+ return group_name != "Disabled";
+}
+
} // namespace password_manager

Powered by Google App Engine
This is Rietveld 408576698