OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_CHROMEOS_EXTERNAL_METRICS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTERNAL_METRICS_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTERNAL_METRICS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTERNAL_METRICS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 | 14 |
14 namespace metrics { | 15 namespace metrics { |
15 class MetricSample; | 16 class MetricSample; |
16 } // namespace metrics | 17 } // namespace metrics |
17 | 18 |
18 namespace chromeos { | 19 namespace chromeos { |
19 | 20 |
20 // ExternalMetrics is a service that Chrome offers to Chrome OS to upload | 21 // ExternalMetrics is a service that Chrome offers to Chrome OS to upload |
21 // metrics to the UMA server on its behalf. Chrome periodically reads the | 22 // metrics to the UMA server on its behalf. Chrome periodically reads the |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 88 |
88 // File used by libmetrics to send metrics to Chrome. | 89 // File used by libmetrics to send metrics to Chrome. |
89 std::string uma_events_file_; | 90 std::string uma_events_file_; |
90 | 91 |
91 DISALLOW_COPY_AND_ASSIGN(ExternalMetrics); | 92 DISALLOW_COPY_AND_ASSIGN(ExternalMetrics); |
92 }; | 93 }; |
93 | 94 |
94 } // namespace chromeos | 95 } // namespace chromeos |
95 | 96 |
96 #endif // CHROME_BROWSER_CHROMEOS_EXTERNAL_METRICS_H_ | 97 #endif // CHROME_BROWSER_CHROMEOS_EXTERNAL_METRICS_H_ |
OLD | NEW |