Index: components/rappor/rappor_service.h |
diff --git a/components/rappor/rappor_service.h b/components/rappor/rappor_service.h |
index b48c31c4453c8b144219fde545a755216c6e91f2..28a0a2f211ddf80e46e7328767e6b7790a304789 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, |
+ SAFE_BROWSING_PATTERN_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. |
+ bool all_metrics_enabled_; |
Alexei Svitkine (slow)
2014/10/03 20:28:50
You need to initialize this in the ctor.
Steven Holte
2014/10/03 21:41:11
Done.
|
+ |
// 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_; |