| Index: chrome/browser/autofill/autofill_metrics_unittest.cc
|
| diff --git a/chrome/browser/autofill/autofill_metrics_unittest.cc b/chrome/browser/autofill/autofill_metrics_unittest.cc
|
| index ea307c7c45bda6b6c6e8c667fde7e0382402a7b6..f8c567d9a01ab0687aa4ead7775c315fd8fdd689 100644
|
| --- a/chrome/browser/autofill/autofill_metrics_unittest.cc
|
| +++ b/chrome/browser/autofill/autofill_metrics_unittest.cc
|
| @@ -976,12 +976,12 @@ TEST_F(AutofillMetricsTest, AddressSuggestionsCount) {
|
| LogAddressSuggestionsCount(2)).Times(1);
|
|
|
| // Simulate activating the autofill popup for the phone field.
|
| - autofill_manager_->OnQueryFormFieldAutofill(0, form, field);
|
| + autofill_manager_->OnQueryFormFieldAutofill(0, form, field, false);
|
|
|
| // Simulate activating the autofill popup for the email field after typing.
|
| // No new metric should be logged, since we're still on the same page.
|
| autofill_test::CreateTestFormField("Email", "email", "b", "email", &field);
|
| - autofill_manager_->OnQueryFormFieldAutofill(0, form, field);
|
| + autofill_manager_->OnQueryFormFieldAutofill(0, form, field, false);
|
|
|
| // Reset the autofill manager state.
|
| autofill_manager_->Reset();
|
| @@ -993,7 +993,7 @@ TEST_F(AutofillMetricsTest, AddressSuggestionsCount) {
|
| LogAddressSuggestionsCount(1)).Times(1);
|
|
|
| // Simulate activating the autofill popup for the email field after typing.
|
| - autofill_manager_->OnQueryFormFieldAutofill(0, form, field);
|
| + autofill_manager_->OnQueryFormFieldAutofill(0, form, field, false);
|
|
|
| // Reset the autofill manager state again.
|
| autofill_manager_->Reset();
|
| @@ -1006,7 +1006,7 @@ TEST_F(AutofillMetricsTest, AddressSuggestionsCount) {
|
|
|
| // Simulate activating the autofill popup for the email field after typing.
|
| form.fields[0].is_autofilled = true;
|
| - autofill_manager_->OnQueryFormFieldAutofill(0, form, field);
|
| + autofill_manager_->OnQueryFormFieldAutofill(0, form, field, false);
|
| }
|
|
|
| // Test that we log whether Autofill is enabled when filling a form.
|
|
|