| Index: chrome/browser/ui/autofill/account_chooser_model.cc
|
| diff --git a/chrome/browser/ui/autofill/account_chooser_model.cc b/chrome/browser/ui/autofill/account_chooser_model.cc
|
| index daf73d20f14e3f009d2866ce62e47b0ae912f56d..299ad40d0cfa0d73a834023bf0346fee832e3397 100644
|
| --- a/chrome/browser/ui/autofill/account_chooser_model.cc
|
| +++ b/chrome/browser/ui/autofill/account_chooser_model.cc
|
| @@ -91,20 +91,20 @@ void AccountChooserModel::ExecuteCommand(int command_id, int event_flags) {
|
| return;
|
|
|
| // Log metrics.
|
| - AutofillMetrics::DialogUiEvent chooser_event;
|
| - if (command_id == kAutofillItemId) {
|
| - chooser_event =
|
| - AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_TO_AUTOFILL;
|
| - } else if (checked_item_ == kAutofillItemId) {
|
| - chooser_event =
|
| - AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_TO_WALLET;
|
| - } else {
|
| - chooser_event =
|
| - AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_WALLET_ACCOUNT;
|
| - }
|
| - metric_logger_.LogDialogUiEvent(dialog_type_, chooser_event);
|
| -
|
| - checked_item_ = command_id;
|
| + AutofillMetrics::DialogUiEvent chooser_event;
|
| + if (command_id == kAutofillItemId) {
|
| + chooser_event =
|
| + AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_TO_AUTOFILL;
|
| + } else if (checked_item_ == kAutofillItemId) {
|
| + chooser_event =
|
| + AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_TO_WALLET;
|
| + } else {
|
| + chooser_event =
|
| + AutofillMetrics::DIALOG_UI_ACCOUNT_CHOOSER_SWITCHED_WALLET_ACCOUNT;
|
| + }
|
| + metric_logger_.LogDialogUiEvent(dialog_type_, chooser_event);
|
| +
|
| + checked_item_ = command_id;
|
| ReconstructMenuItems();
|
| delegate_->AccountChoiceChanged();
|
| }
|
|
|