Searched refs:cohort_ (Results 1 – 2 of 2) sorted by relevance
76 cohort_(-1), in RapporService()144 cohort_ = pref_service_->GetInteger(prefs::kRapporCohortSeed); in LoadCohort()146 if (cohort_ >= 0 && cohort_ < RapporParameters::kMaxCohorts) in LoadCohort()151 cohort_ = base::RandGenerator(RapporParameters::kMaxCohorts); in LoadCohort()152 DVLOG(2) << "Selected a new Rappor cohort: " << cohort_; in LoadCohort()153 pref_service_->SetInteger(prefs::kRapporCohortSeed, cohort_); in LoadCohort()178 DCHECK_GE(cohort_, 0); in ExportMetrics()179 reports->set_cohort(cohort_); in ExportMetrics()196 return cohort_ >= 0; in IsInitialized()231 RapporMetric* new_metric = new RapporMetric(metric_name, parameters, cohort_); in LookUpMetric()
62 void SetCohortForTesting(uint32_t cohort) { cohort_ = cohort; } in SetCohortForTesting()113 int32_t cohort_; variable