Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Side by Side Diff: base/metrics/histogram_delta_serialization.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « base/metrics/histogram_base_unittest.cc ('k') | base/metrics/histogram_delta_serialization_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698