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

Unified Diff: components/rappor/rappor_metric_unittest.cc

Issue 509203002: Create a mechanism for reporting rappor metrics from non-UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/rappor/rappor_metric.cc ('k') | components/rappor/rappor_parameters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/rappor/rappor_metric_unittest.cc
diff --git a/components/rappor/rappor_metric_unittest.cc b/components/rappor/rappor_metric_unittest.cc
index da919030912c47ee12e38d95594a0ca6cc621622..b8e28dd3a71985b27dc3099985b0506e68033c31 100644
--- a/components/rappor/rappor_metric_unittest.cc
+++ b/components/rappor/rappor_metric_unittest.cc
@@ -19,7 +19,8 @@ const RapporParameters kTestRapporParameters = {
PROBABILITY_75 /* Fake data probability */,
PROBABILITY_50 /* Fake one probability */,
PROBABILITY_75 /* One coin probability */,
- PROBABILITY_50 /* Zero coin probability */};
+ PROBABILITY_50 /* Zero coin probability */,
+ FINE_LEVEL /* Reporting level (not used) */};
const RapporParameters kTestStatsRapporParameters = {
1 /* Num cohorts */,
@@ -28,7 +29,8 @@ const RapporParameters kTestStatsRapporParameters = {
PROBABILITY_75 /* Fake data probability */,
PROBABILITY_50 /* Fake one probability */,
PROBABILITY_75 /* One coin probability */,
- PROBABILITY_50 /* Zero coin probability */};
+ PROBABILITY_50 /* Zero coin probability */,
+ FINE_LEVEL /* Reporting level (not used) */};
// Check for basic syntax and use.
TEST(RapporMetricTest, BasicMetric) {
« no previous file with comments | « components/rappor/rappor_metric.cc ('k') | components/rappor/rappor_parameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698