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

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

Issue 1538743002: Switch to standard integer types in base/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DEPS roll too Created 4 years, 12 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
« no previous file with comments | « base/metrics/histogram_macros.h ('k') | base/metrics/histogram_snapshot_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SAMPLES_H_ 5 #ifndef BASE_METRICS_HISTOGRAM_SAMPLES_H_
6 #define BASE_METRICS_HISTOGRAM_SAMPLES_H_ 6 #define BASE_METRICS_HISTOGRAM_SAMPLES_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include "base/atomicops.h" 11 #include "base/atomicops.h"
9 #include "base/basictypes.h" 12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
10 #include "base/metrics/histogram_base.h" 14 #include "base/metrics/histogram_base.h"
11 #include "base/memory/scoped_ptr.h"
12 15
13 namespace base { 16 namespace base {
14 17
15 class Pickle; 18 class Pickle;
16 class PickleIterator; 19 class PickleIterator;
17 class SampleCountIterator; 20 class SampleCountIterator;
18 21
19 // HistogramSamples is a container storing all samples of a histogram. 22 // HistogramSamples is a container storing all samples of a histogram.
20 class BASE_EXPORT HistogramSamples { 23 class BASE_EXPORT HistogramSamples {
21 public: 24 public:
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 109
107 // Get the index of current histogram bucket. 110 // Get the index of current histogram bucket.
108 // For histograms that don't use predefined buckets, it returns false. 111 // For histograms that don't use predefined buckets, it returns false.
109 // Requires: !Done(); 112 // Requires: !Done();
110 virtual bool GetBucketIndex(size_t* index) const; 113 virtual bool GetBucketIndex(size_t* index) const;
111 }; 114 };
112 115
113 } // namespace base 116 } // namespace base
114 117
115 #endif // BASE_METRICS_HISTOGRAM_SAMPLES_H_ 118 #endif // BASE_METRICS_HISTOGRAM_SAMPLES_H_
OLDNEW
« no previous file with comments | « base/metrics/histogram_macros.h ('k') | base/metrics/histogram_snapshot_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698