| Index: chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
|
| index 004657bd8c2a336c117a2a855106847e835c0387..cca9f9927d26f3989f39ea862bb49d8a611dfe4f 100644
|
| --- a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
|
| @@ -199,8 +199,8 @@ class LastDownloadFinderTest : public testing::Test {
|
| chrome::RegisterUserProfilePrefs(prefs->registry());
|
| prefs->SetBoolean(prefs::kSafeBrowsingEnabled,
|
| safe_browsing_opt_in != SAFE_BROWSING_OPT_OUT);
|
| - prefs->SetBoolean(GetExtendedReportingPrefName(),
|
| - safe_browsing_opt_in == EXTENDED_REPORTING_OPT_IN);
|
| + SetExtendedReportingPref(prefs.get(),
|
| + safe_browsing_opt_in == EXTENDED_REPORTING_OPT_IN);
|
|
|
| TestingProfile* profile = profile_manager_->CreateTestingProfile(
|
| profile_name, std::move(prefs),
|
|
|