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

Side by Side Diff: components/metrics/serialization/metric_sample.h

Issue 1366123002: Cleanup: IWYU for base/gtest_prod_util.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gtest_iwyu
Patch Set: more lint Created 5 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_METRICS_SERIALIZATION_METRIC_SAMPLE_H_ 5 #ifndef COMPONENTS_METRICS_SERIALIZATION_METRIC_SAMPLE_H_
6 #define COMPONENTS_METRICS_SERIALIZATION_METRIC_SAMPLE_H_ 6 #define COMPONENTS_METRICS_SERIALIZATION_METRIC_SAMPLE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gtest_prod_util.h"
11 #include "base/macros.h" 10 #include "base/macros.h"
12 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
13 12
14 namespace metrics { 13 namespace metrics {
15 14
16 // This class is used by libmetrics (ChromeOS) to serialize 15 // This class is used by libmetrics (ChromeOS) to serialize
17 // and deserialize measurements to send them to a metrics sending service. 16 // and deserialize measurements to send them to a metrics sending service.
18 // It is meant to be a simple container with serialization functions. 17 // It is meant to be a simple container with serialization functions.
19 class MetricSample { 18 class MetricSample {
20 public: 19 public:
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 const int min_; 109 const int min_;
111 const int max_; 110 const int max_;
112 const int bucket_count_; 111 const int bucket_count_;
113 112
114 DISALLOW_COPY_AND_ASSIGN(MetricSample); 113 DISALLOW_COPY_AND_ASSIGN(MetricSample);
115 }; 114 };
116 115
117 } // namespace metrics 116 } // namespace metrics
118 117
119 #endif // COMPONENTS_METRICS_SERIALIZATION_METRIC_SAMPLE_H_ 118 #endif // COMPONENTS_METRICS_SERIALIZATION_METRIC_SAMPLE_H_
OLDNEW
« no previous file with comments | « components/history/core/browser/top_sites.h ('k') | components/omnibox/browser/autocomplete_input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698