Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6530)

Unified Diff: chrome/browser/safe_browsing/srt_fetcher_browsertest_win.cc

Issue 2418813002: [Reland] Refactoring of SBER preference usage (Closed)
Patch Set: Sync Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_service.cc ('k') | chrome/browser/safe_browsing/srt_fetcher_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698