| Index: chrome/browser/ui/webui/options/password_manager_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/password_manager_handler.cc b/chrome/browser/ui/webui/options/password_manager_handler.cc
|
| index 374e6e58cbb0ef2d542f7ce6e16df26bc80b1d5d..574b981bb4ed2a29a3fd6293bfa3e1d622570ad2 100644
|
| --- a/chrome/browser/ui/webui/options/password_manager_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/password_manager_handler.cc
|
| @@ -5,7 +5,7 @@
|
| #include "chrome/browser/ui/webui/options/password_manager_handler.h"
|
|
|
| #include "base/bind.h"
|
| -#include "base/feature_list.h"
|
| +#include "base/command_line.h"
|
| #include "base/macros.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_split.h"
|
| @@ -32,7 +32,7 @@
|
| #include "content/public/browser/user_metrics.h"
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_ui.h"
|
| -#include "content/public/common/content_features.h"
|
| +#include "content/public/common/content_switches.h"
|
| #include "content/public/common/origin_util.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
|
|
| @@ -149,7 +149,8 @@ void PasswordManagerHandler::GetLocalizedValues(
|
| localized_strings->SetBoolean("disableShowPasswords", disable_show_passwords);
|
| localized_strings->SetBoolean(
|
| "enableCredentialManagerAPI",
|
| - base::FeatureList::IsEnabled(features::kCredentialManagementAPI));
|
| + base::CommandLine::ForCurrentProcess()->HasSwitch(
|
| + switches::kEnableCredentialManagerAPI));
|
| }
|
|
|
| void PasswordManagerHandler::RegisterMessages() {
|
|
|