Index: chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc |
diff --git a/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc b/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc |
index a3bbc3cf53e53cbd9c66e6887340bcdc049ea02d..60d5e001d0081d084a9733e7af70aab4c8454011 100644 |
--- a/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc |
+++ b/chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc |
@@ -24,6 +24,7 @@ |
#include "chrome/test/base/in_process_browser_test.h" |
#include "components/component_updater/pref_names.h" |
#include "components/prefs/pref_service.h" |
+#include "components/safe_browsing_db/safe_browsing_prefs.h" |
#include "content/public/test/test_browser_thread_bundle.h" |
namespace safe_browsing { |
@@ -312,8 +313,7 @@ class SRTFetcherTest : public InProcessBrowserTest, |
ASSERT_NE(browser, nullptr); |
Profile* profile = browser->profile(); |
ASSERT_NE(profile, nullptr); |
- profile->GetPrefs()->SetBoolean( |
- prefs::kSafeBrowsingExtendedReportingEnabled, true); |
+ profile->GetPrefs()->SetBoolean(GetExtendedReportingPrefName(), true); |
} |
scoped_refptr<base::TestSimpleTaskRunner> task_runner_; |