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

Unified Diff: components/safe_browsing_db/safe_browsing_prefs_unittest.cc

Issue 2739643003: Make Sber1/2 pref metrics into Nullable Booleans so we can track how often these prefs are unset. (Closed)
Patch Set: Fix test Created 3 years, 9 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
« no previous file with comments | « components/safe_browsing_db/safe_browsing_prefs.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing_db/safe_browsing_prefs_unittest.cc
diff --git a/components/safe_browsing_db/safe_browsing_prefs_unittest.cc b/components/safe_browsing_db/safe_browsing_prefs_unittest.cc
index af38c78edf89ffdfdbcbd0a3e82f0d401c64e405..303f87826a56a507200fa39512ef77ba688ca6e7 100644
--- a/components/safe_browsing_db/safe_browsing_prefs_unittest.cc
+++ b/components/safe_browsing_db/safe_browsing_prefs_unittest.cc
@@ -24,6 +24,10 @@ class SafeBrowsingPrefsTest : public ::testing::Test {
prefs::kSafeBrowsingScoutReportingEnabled, false);
prefs_.registry()->RegisterBooleanPref(
prefs::kSafeBrowsingScoutGroupSelected, false);
+ prefs_.registry()->RegisterBooleanPref(
+ prefs::kSafeBrowsingSawInterstitialExtendedReporting, false);
+ prefs_.registry()->RegisterBooleanPref(
+ prefs::kSafeBrowsingSawInterstitialScoutReporting, false);
ResetExperiments(/*can_show_scout=*/false, /*only_show_scout=*/false);
}
« no previous file with comments | « components/safe_browsing_db/safe_browsing_prefs.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698