Index: components/rappor/rappor_metric.cc |
diff --git a/components/rappor/rappor_metric.cc b/components/rappor/rappor_metric.cc |
index 92765de6e89b79e7c3c02873c2c6403b53fb2fea..980c0085e1b75d3be97068bb98e6a836e0dda0cb 100644 |
--- a/components/rappor/rappor_metric.cc |
+++ b/components/rappor/rappor_metric.cc |
@@ -21,6 +21,7 @@ RapporMetric::RapporMetric(const std::string& metric_name, |
parameters.bloom_filter_hash_function_count) { |
DCHECK_GE(cohort_seed, 0); |
DCHECK_LT(cohort_seed, RapporParameters::kMaxCohorts); |
+ DCHECK_EQ(RapporParameters::kMaxCohorts % parameters.num_cohorts, 0); |
jwd
2014/10/03 19:53:03
Can you add a comment about this in rappor_paramet
Steven Holte
2014/10/03 20:09:23
Done.
|
} |
RapporMetric::~RapporMetric() {} |