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 2a726d2687c75d95556a93b1e5bc72280967095d..004657bd8c2a336c117a2a855106847e835c0387 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 |
@@ -46,6 +46,7 @@ |
#include "components/history/core/browser/history_constants.h" |
#include "components/history/core/browser/history_database_params.h" |
#include "components/history/core/browser/history_service.h" |
+#include "components/safe_browsing_db/safe_browsing_prefs.h" |
#include "components/syncable_prefs/testing_pref_service_syncable.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
#include "content/public/test/test_utils.h" |
@@ -198,7 +199,7 @@ class LastDownloadFinderTest : public testing::Test { |
chrome::RegisterUserProfilePrefs(prefs->registry()); |
prefs->SetBoolean(prefs::kSafeBrowsingEnabled, |
safe_browsing_opt_in != SAFE_BROWSING_OPT_OUT); |
- prefs->SetBoolean(prefs::kSafeBrowsingExtendedReportingEnabled, |
+ prefs->SetBoolean(GetExtendedReportingPrefName(), |
safe_browsing_opt_in == EXTENDED_REPORTING_OPT_IN); |
TestingProfile* profile = profile_manager_->CreateTestingProfile( |