| Index: components/autofill/core/browser/autofill_manager_unittest.cc
|
| diff --git a/components/autofill/core/browser/autofill_manager_unittest.cc b/components/autofill/core/browser/autofill_manager_unittest.cc
|
| index 4b3a6997d985291896244bcfa28e94ffe4b09314..be3d39fdf27a42da5252d904b5e263ea8c9ac145 100644
|
| --- a/components/autofill/core/browser/autofill_manager_unittest.cc
|
| +++ b/components/autofill/core/browser/autofill_manager_unittest.cc
|
| @@ -4677,6 +4677,9 @@ TEST_F(AutofillManagerTest, UploadCreditCard) {
|
| AutofillMetrics::UPLOAD_OFFERED);
|
| // Verify that the correct UKM was logged.
|
| ExpectCardUploadDecisionUkm(AutofillMetrics::UPLOAD_OFFERED);
|
| + // Verify the histogram entry for recent profile modification.
|
| + histogram_tester.ExpectUniqueSample(
|
| + "Autofill.HasModifiedProfile.CreditCardFormSubmission", true, 1);
|
| }
|
|
|
| TEST_F(AutofillManagerTest, UploadCreditCardAndSaveCopy) {
|
| @@ -5201,6 +5204,9 @@ TEST_F(AutofillManagerTest, UploadCreditCard_NoRecentlyUsedProfile) {
|
| // Verify that the correct UKM was logged.
|
| ExpectCardUploadDecisionUkm(
|
| AutofillMetrics::UPLOAD_NOT_OFFERED_NO_RECENTLY_USED_ADDRESS);
|
| + // Verify the histogram entry for recent profile modification.
|
| + histogram_tester.ExpectUniqueSample(
|
| + "Autofill.HasModifiedProfile.CreditCardFormSubmission", false, 1);
|
| }
|
|
|
| TEST_F(AutofillManagerTest,
|
|
|