struct AggregateDataToGenerate
Defined at line 39 of file ../../third_party/cobalt/src/local_aggregation/aggregation_procedures/aggregation_procedure.h
The EventCodesAggregateData objects, and any other data, needed to generate a single observation.
An instance of this object corresponds to the data for a single time period bucket of a report.
For hourly or 1-day reports, this object is all the data needed to generate the observation.
For multi-day reports, multiple of these objects are needed to generate the observation. When
generating observations, all AggregateDataToGenerate and all the aggregate_data they contain must
be for the same system profile.
TODO(https://fxbug.dev/322409910): Delete usage of |use_legacy_hash| after clients no longer
store them.
Public Members
vector aggregate_data
const google::protobuf::RepeatedPtrField<std::string> & string_hashes
bool use_legacy_hash
Public Methods
void AggregateDataToGenerate (const google::protobuf::RepeatedPtrField<std::string> & string_hashes, bool use_legacy_hash)
Defined at line 44 of file ../../third_party/cobalt/src/local_aggregation/aggregation_procedures/aggregation_procedure.h
void AggregateDataToGenerate (const AggregateDataToGenerate & )
Make the struct move only
Defined at line 49 of file ../../third_party/cobalt/src/local_aggregation/aggregation_procedures/aggregation_procedure.h
AggregateDataToGenerate & operator= (const AggregateDataToGenerate & )
Defined at line 50 of file ../../third_party/cobalt/src/local_aggregation/aggregation_procedures/aggregation_procedure.h
void AggregateDataToGenerate (AggregateDataToGenerate && )
Defined at line 51 of file ../../third_party/cobalt/src/local_aggregation/aggregation_procedures/aggregation_procedure.h