| Index: chrome/browser/ui/passwords/password_manager_presenter.cc
|
| diff --git a/chrome/browser/ui/passwords/password_manager_presenter.cc b/chrome/browser/ui/passwords/password_manager_presenter.cc
|
| index f74241d85f54381fc0f494a6fa5e20e09f46f1aa..de2a4c7f003ee2f8c4b0c289512bb96caf131dd5 100644
|
| --- a/chrome/browser/ui/passwords/password_manager_presenter.cc
|
| +++ b/chrome/browser/ui/passwords/password_manager_presenter.cc
|
| @@ -132,6 +132,7 @@ void PasswordManagerPresenter::RequestShowPassword(size_t index) {
|
| return;
|
| }
|
|
|
| +#if defined(PASSWORD_MANAGER_ENABLE_SYNC)
|
| if (password_manager_sync_metrics::IsSyncAccountCredential(
|
| password_view_->GetProfile(),
|
| base::UTF16ToUTF8(password_list_[index]->username_value),
|
| @@ -139,6 +140,7 @@ void PasswordManagerPresenter::RequestShowPassword(size_t index) {
|
| content::RecordAction(
|
| base::UserMetricsAction("PasswordManager_SyncCredentialShown"));
|
| }
|
| +#endif
|
|
|
| // Call back the front end to reveal the password.
|
| password_view_->ShowPassword(index, password_list_[index]->password_value);
|
|
|