| OLD | NEW |
| 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_CHROMEOS_METRIC_SAMPLE_H_ | 5 #ifndef COMPONENTS_METRICS_SERIALIZATION_METRIC_SAMPLE_H_ |
| 6 #define COMPONENTS_METRICS_CHROMEOS_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" | 10 #include "base/gtest_prod_util.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 | 13 |
| 14 namespace metrics { | 14 namespace metrics { |
| 15 | 15 |
| 16 // This class is used by libmetrics (ChromeOS) to serialize | 16 // This class is used by libmetrics (ChromeOS) to serialize |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 const int sample_; | 109 const int sample_; |
| 110 const int min_; | 110 const int min_; |
| 111 const int max_; | 111 const int max_; |
| 112 const int bucket_count_; | 112 const int bucket_count_; |
| 113 | 113 |
| 114 DISALLOW_COPY_AND_ASSIGN(MetricSample); | 114 DISALLOW_COPY_AND_ASSIGN(MetricSample); |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 } // namespace metrics | 117 } // namespace metrics |
| 118 | 118 |
| 119 #endif // COMPONENTS_METRICS_CHROMEOS_METRIC_SAMPLE_H_ | 119 #endif // COMPONENTS_METRICS_SERIALIZATION_METRIC_SAMPLE_H_ |
| OLD | NEW |