Searched refs:RapporMetric (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/components/rappor/
H A Drappor_metric.h18 // A RapporMetric is an object that collects string samples into a Bloom filter,
26 class RapporMetric { class in namespace:rappor
32 RapporMetric(const std::string& metric_name,
35 ~RapporMetric();
62 DISALLOW_COPY_AND_ASSIGN(RapporMetric);
H A Drappor_metric.cc12 RapporMetric::RapporMetric(const std::string& metric_name, function in class:rappor::RapporMetric
26 RapporMetric::~RapporMetric() {}
28 void RapporMetric::AddSample(const std::string& str) {
37 ByteVector RapporMetric::GetReport(const std::string& secret) const {
69 void RapporMetric::SetBytesForTesting(const ByteVector& bytes) {
H A Drappor_metric_unittest.cc35 RapporMetric testMetric("MyRappor", kTestRapporParameters, 0);
41 RapporMetric metric("MyRappor", kTestRapporParameters, 0);
49 RapporMetric metric("MyStatsRappor", kTestStatsRapporParameters, 0);
H A Drappor_service.h27 class RapporMetric;
103 RapporMetric* LookUpMetric(const std::string& metric_name,
126 std::map<std::string, RapporMetric*> metrics_map_;
H A Drappor_service.cc181 for (std::map<std::string, RapporMetric*>::const_iterator it =
185 const RapporMetric* metric = it->second;
216 RapporMetric* metric = LookUpMetric(metric_name, parameters);
220 RapporMetric* RapporService::LookUpMetric(const std::string& metric_name,
223 std::map<std::string, RapporMetric*>::const_iterator it =
226 RapporMetric* metric = it->second;
231 RapporMetric* new_metric = new RapporMetric(metric_name, parameters, cohort_);

Completed in 79 milliseconds