| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_METRICS_HISTOGRAM_DELTA_SERIALIZATION_H_ | 5 #ifndef BASE_METRICS_HISTOGRAM_DELTA_SERIALIZATION_H_ |
| 6 #define BASE_METRICS_HISTOGRAM_DELTA_SERIALIZATION_H_ | 6 #define BASE_METRICS_HISTOGRAM_DELTA_SERIALIZATION_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include <string> | 9 #include <string> |
| 9 #include <vector> | 10 #include <vector> |
| 10 | 11 |
| 11 #include "base/base_export.h" | 12 #include "base/base_export.h" |
| 12 #include "base/macros.h" | 13 #include "base/macros.h" |
| 13 #include "base/memory/scoped_ptr.h" | |
| 14 #include "base/metrics/histogram_flattener.h" | 14 #include "base/metrics/histogram_flattener.h" |
| 15 #include "base/metrics/histogram_snapshot_manager.h" | 15 #include "base/metrics/histogram_snapshot_manager.h" |
| 16 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
| 17 | 17 |
| 18 namespace base { | 18 namespace base { |
| 19 | 19 |
| 20 class HistogramBase; | 20 class HistogramBase; |
| 21 | 21 |
| 22 // Serializes and restores histograms deltas. | 22 // Serializes and restores histograms deltas. |
| 23 class BASE_EXPORT HistogramDeltaSerialization : public HistogramFlattener { | 23 class BASE_EXPORT HistogramDeltaSerialization : public HistogramFlattener { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 HistogramBase* inconsistencies_histogram_; | 61 HistogramBase* inconsistencies_histogram_; |
| 62 HistogramBase* inconsistencies_unique_histogram_; | 62 HistogramBase* inconsistencies_unique_histogram_; |
| 63 HistogramBase* inconsistent_snapshot_histogram_; | 63 HistogramBase* inconsistent_snapshot_histogram_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(HistogramDeltaSerialization); | 65 DISALLOW_COPY_AND_ASSIGN(HistogramDeltaSerialization); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace base | 68 } // namespace base |
| 69 | 69 |
| 70 #endif // BASE_METRICS_HISTOGRAM_DELTA_SERIALIZATION_H_ | 70 #endif // BASE_METRICS_HISTOGRAM_DELTA_SERIALIZATION_H_ |
| OLD | NEW |