| Index: chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc
|
| index 95553fc2ce20d72602bc026fce46b58d0ba08a78..209d121f1123a7ce36245fb8fbf979b43b7d2034 100644
|
| --- a/chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/incident_reporting/extension_data_collection_unittest.cc
|
| @@ -151,8 +151,8 @@ class ExtensionDataCollectionTest : public testing::Test {
|
| chrome::RegisterUserProfilePrefs(prefs->registry());
|
| prefs->SetBoolean(prefs::kSafeBrowsingEnabled,
|
| safe_browsing_opt_in == SAFE_BROWSING_OPT_IN);
|
| - prefs->SetBoolean(GetExtendedReportingPrefName(),
|
| - safe_browsing_opt_in == SAFE_BROWSING_OPT_IN);
|
| + safe_browsing::SetExtendedReportingPref(
|
| + prefs.get(), safe_browsing_opt_in == SAFE_BROWSING_OPT_IN);
|
| TestingProfile* profile = profile_manager_->CreateTestingProfile(
|
| profile_name, std::move(prefs),
|
| base::UTF8ToUTF16(profile_name), // user_name
|
|
|