Chromium Code Reviews| Index: components/rappor/rappor_service.h |
| diff --git a/components/rappor/rappor_service.h b/components/rappor/rappor_service.h |
| index b48c31c4453c8b144219fde545a755216c6e91f2..6796e7d884c2827a291cccd0c0920825a5657887 100644 |
| --- a/components/rappor/rappor_service.h |
| +++ b/components/rappor/rappor_service.h |
| @@ -32,6 +32,7 @@ struct RapporParameters; |
| enum RapporType { |
| // For sampling the eTLD+1 of a URL. |
| ETLD_PLUS_ONE_RAPPOR_TYPE = 0, |
| + FULL_POPULATION_RAPPOR_TYPE, |
| NUM_RAPPOR_TYPES |
| }; |
| @@ -121,6 +122,9 @@ class RapporService { |
| // A private LogUploader instance for sending reports to the server. |
| scoped_ptr<LogUploader> uploader_; |
| + // True if we are collecting all metrics instead of only whitelisted ones. |
|
Alexei Svitkine (slow)
2014/11/03 21:48:21
Can you expand this comment to give a concrete use
Steven Holte
2014/11/04 02:44:20
Replaced this with a ReportingLevel.
|
| + bool all_metrics_enabled_; |
| + |
| // We keep all registered metrics in a map, from name to metric. |
| // The map owns the metrics it contains. |
| std::map<std::string, RapporMetric*> metrics_map_; |