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

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

Issue 2435933003: Further refactoring of SBER1 preference usage. (Closed)
Patch Set: git cl format 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/download_protection_service_unittest.cc
diff --git a/chrome/browser/safe_browsing/download_protection_service_unittest.cc b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
index bedcbbe85ea8e316f4f0ed0bdbf8960a34da2c6e..3beab5636a5ce3808c5ec574d402cef4ee565bb7 100644
--- a/chrome/browser/safe_browsing/download_protection_service_unittest.cc
+++ b/chrome/browser/safe_browsing/download_protection_service_unittest.cc
@@ -518,8 +518,7 @@ class DownloadProtectionServiceTest : public testing::Test {
}
void SetExtendedReportingPreference(bool is_extended_reporting) {
- profile_->GetPrefs()->SetBoolean(GetExtendedReportingPrefName(),
- is_extended_reporting);
+ SetExtendedReportingPref(profile_->GetPrefs(), is_extended_reporting);
}
// Check scenarios where we should/shouldn't send a report for

Powered by Google App Engine
This is Rietveld 408576698