Chromium Code Reviews| Index: components/metrics/metrics_log.h |
| diff --git a/components/metrics/metrics_log.h b/components/metrics/metrics_log.h |
| index 2150ea4d111a2ee7113cf472547399a7b2b28740..35c8b07ac719ac52966a2c7dec466c45c2db4b8c 100644 |
| --- a/components/metrics/metrics_log.h |
| +++ b/components/metrics/metrics_log.h |
| @@ -74,6 +74,9 @@ class MetricsLog { |
| // always incrementing for use in measuring time durations. |
| static int64_t GetCurrentTime(); |
| + static void RecordCoreSystemProfile(MetricsServiceClient* client, |
|
Alexei Svitkine (slow)
2017/01/27 21:11:56
Nit: Comment.
rkaplow
2017/01/27 21:57:36
Done.
|
| + SystemProfileProto* system_profile); |
| + |
| // Records a user-initiated action. |
| void RecordUserAction(const std::string& key); |
| @@ -81,6 +84,9 @@ class MetricsLog { |
| void RecordHistogramDelta(const std::string& histogram_name, |
| const base::HistogramSamples& snapshot); |
| + |
| + // TODO(rkaplow): I think this can be a little refactored as it currently |
| + // records a pretty arbitrary set of things. |
| // Records the current operating environment, including metrics provided by |
| // the specified set of |metrics_providers|. Takes the list of synthetic |
| // trial IDs as a parameter. A synthetic trial is one that is set up |