| Index: components/rappor/rappor_service.h
|
| diff --git a/components/rappor/rappor_service.h b/components/rappor/rappor_service.h
|
| index f02a85a3fe65e48d13738531627496c854a78b18..9811323dd60044ffc416ccfb8afe34b911e7895e 100644
|
| --- a/components/rappor/rappor_service.h
|
| +++ b/components/rappor/rappor_service.h
|
| @@ -31,6 +31,7 @@ struct RapporParameters;
|
| enum RapporType {
|
| // For sampling the eTLD+1 of a URL.
|
| ETLD_PLUS_ONE_RAPPOR_TYPE = 0,
|
| + SAFE_BROWSING_PATTERN_RAPPOR_TYPE,
|
| NUM_RAPPOR_TYPES
|
| };
|
|
|
| @@ -109,6 +110,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.
|
| + 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_;
|
|
|