| Index: chrome/browser/password_manager/chrome_password_manager_client.cc
|
| diff --git a/chrome/browser/password_manager/chrome_password_manager_client.cc b/chrome/browser/password_manager/chrome_password_manager_client.cc
|
| index 5f86fc152bb52961171091452b4cc0e3e4974060..0586bd51a30fe2781cc76a79223ad373d38d4147 100644
|
| --- a/chrome/browser/password_manager/chrome_password_manager_client.cc
|
| +++ b/chrome/browser/password_manager/chrome_password_manager_client.cc
|
| @@ -533,6 +533,16 @@ bool ChromePasswordManagerClient::IsTheHotNewBubbleUIEnabled() {
|
| return group_name != "Infobar";
|
| }
|
|
|
| +bool ChromePasswordManagerClient::IsPasswordUpdateUIEnabled() const {
|
| + if (!ChromePasswordManagerClient::IsTheHotNewBubbleUIEnabled()) {
|
| + // Currently Password update UI is implemented only for Bubble UI.
|
| + return false;
|
| + }
|
| + base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| + return command_line->HasSwitch(
|
| + password_manager::switches::kEnablePasswordChangeSupport);
|
| +}
|
| +
|
| bool ChromePasswordManagerClient::EnabledForSyncSignin() {
|
| base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
|
| if (command_line->HasSwitch(
|
|
|