OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_UKM_PERSISTED_LOGS_METRICS_IMPL_H_ | |
6 #define COMPONENTS_UKM_PERSISTED_LOGS_METRICS_IMPL_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "components/metrics/persisted_logs_metrics.h" | |
10 | |
11 namespace ukm { | |
12 | |
13 // Implementation for recording metrics from PersistedLogs. | |
14 class PersistedLogsMetricsImpl : public metrics::PersistedLogsMetrics { | |
15 public: | |
16 PersistedLogsMetricsImpl() {} | |
17 ~PersistedLogsMetricsImpl() {} | |
Alexei Svitkine (slow)
2017/01/10 17:37:19
override
and the base class's dtor should be mark
Steven Holte
2017/01/10 22:52:44
Done.
| |
18 | |
19 metrics::PersistedLogs::LogReadStatus RecordLogReadStatus( | |
20 metrics::PersistedLogs::LogReadStatus status) override; | |
21 | |
Alexei Svitkine (slow)
2017/01/10 17:37:19
Nit: No need for blank lines between override meth
Steven Holte
2017/01/10 22:52:44
Done.
| |
22 void RecordCompressionRatio(size_t compressed_size, | |
23 size_t original_size) override; | |
24 | |
25 void RecordDroppedLogSize(size_t size) override; | |
26 | |
27 void RecordDroppedLogsNum(int dropped_logs_num) override; | |
28 | |
29 private: | |
30 DISALLOW_COPY_AND_ASSIGN(PersistedLogsMetricsImpl); | |
31 }; | |
32 | |
33 } // namespace ukm | |
34 | |
35 #endif // COMPONENTS_UKM_PERSISTED_LOGS_METRICS_IMPL_H_ | |
OLD | NEW |