OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cohort_
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/components/rappor/
rappor_service.cc
57
RapporService::RapporService() :
cohort_
(-1) {}
106
cohort_
= pref_service->GetInteger(prefs::kRapporCohortSeed);
108
if (
cohort_
>= 0 &&
cohort_
< RapporParameters::kMaxCohorts)
113
cohort_
= base::RandGenerator(RapporParameters::kMaxCohorts);
114
pref_service->SetInteger(prefs::kRapporCohortSeed,
cohort_
);
138
DCHECK_GE(
cohort_
, 0);
139
reports->set_cohort(
cohort_
);
156
return
cohort_
>= 0;
188
RapporMetric* new_metric = new RapporMetric(metric_name, parameters,
cohort_
);
[
all
...]
rappor_service.h
54
void SetCohortForTesting(uint32_t cohort) {
cohort_
= cohort; }
102
int32_t
cohort_
;
member in class:rappor::RapporService
Completed in 359 milliseconds