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 9582f2ac600079f86c9b406ef03f2d75626541c0..c2329b1cdd08ea4a98dc1c650455eae087564cf9 100644 |
--- a/components/password_manager/core/common/experiments.cc |
+++ b/components/password_manager/core/common/experiments.cc |
@@ -4,14 +4,13 @@ |
#include "components/password_manager/core/common/experiments.h" |
-#include "base/command_line.h" |
-#include "components/password_manager/core/common/password_manager_switches.h" |
+#include "components/password_manager/core/common/password_manager_features.h" |
namespace password_manager { |
bool ForceSavingExperimentEnabled() { |
- return base::CommandLine::ForCurrentProcess()->HasSwitch( |
- password_manager::switches::kEnablePasswordForceSaving); |
+ return base::FeatureList::IsEnabled( |
+ password_manager::features::kEnablePasswordForceSaving); |
} |
} // namespace password_manager |