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

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

Issue 2479683004: base: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration Created 4 years, 1 month 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/message_loop/incoming_task_queue.h ('k') | base/metrics/histogram_base.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 // Histogram is an object that aggregates statistics, and can summarize them in 5 // Histogram is an object that aggregates statistics, and can summarize them in
6 // various forms, including ASCII graphical, HTML, and numerically (as a 6 // various forms, including ASCII graphical, HTML, and numerically (as a
7 // vector of numbers corresponding to each of the aggregating buckets). 7 // vector of numbers corresponding to each of the aggregating buckets).
8 8
9 // It supports calls to accumulate either time intervals (which are processed 9 // It supports calls to accumulate either time intervals (which are processed
10 // as integral number of milliseconds), or arbitrary integral units. 10 // as integral number of milliseconds), or arbitrary integral units.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 #include "base/metrics/histogram_macros.h" 85 #include "base/metrics/histogram_macros.h"
86 #include "base/metrics/histogram_samples.h" 86 #include "base/metrics/histogram_samples.h"
87 #include "base/time/time.h" 87 #include "base/time/time.h"
88 88
89 namespace base { 89 namespace base {
90 90
91 class BooleanHistogram; 91 class BooleanHistogram;
92 class CustomHistogram; 92 class CustomHistogram;
93 class Histogram; 93 class Histogram;
94 class LinearHistogram; 94 class LinearHistogram;
95 class PersistentMemoryAllocator;
96 class Pickle; 95 class Pickle;
97 class PickleIterator; 96 class PickleIterator;
98 class SampleVector; 97 class SampleVector;
99 98
100 class BASE_EXPORT Histogram : public HistogramBase { 99 class BASE_EXPORT Histogram : public HistogramBase {
101 public: 100 public:
102 // Initialize maximum number of buckets in histograms as 16,384. 101 // Initialize maximum number of buckets in histograms as 16,384.
103 static const uint32_t kBucketCount_MAX; 102 static const uint32_t kBucketCount_MAX;
104 103
105 typedef std::vector<Count> Counts; 104 typedef std::vector<Count> Counts;
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
543 static HistogramBase* DeserializeInfoImpl(base::PickleIterator* iter); 542 static HistogramBase* DeserializeInfoImpl(base::PickleIterator* iter);
544 543
545 static bool ValidateCustomRanges(const std::vector<Sample>& custom_ranges); 544 static bool ValidateCustomRanges(const std::vector<Sample>& custom_ranges);
546 545
547 DISALLOW_COPY_AND_ASSIGN(CustomHistogram); 546 DISALLOW_COPY_AND_ASSIGN(CustomHistogram);
548 }; 547 };
549 548
550 } // namespace base 549 } // namespace base
551 550
552 #endif // BASE_METRICS_HISTOGRAM_H_ 551 #endif // BASE_METRICS_HISTOGRAM_H_
OLDNEW
« no previous file with comments | « base/message_loop/incoming_task_queue.h ('k') | base/metrics/histogram_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698