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_METRICS_STATE_MANAGER_H_ | 5 #ifndef COMPONENTS_METRICS_METRICS_STATE_MANAGER_H_ |
6 #define COMPONENTS_METRICS_METRICS_STATE_MANAGER_H_ | 6 #define COMPONENTS_METRICS_METRICS_STATE_MANAGER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/gtest_prod_util.h" | 12 #include "base/gtest_prod_util.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/metrics/field_trial.h" | 14 #include "base/metrics/field_trial.h" |
| 15 #include "base/single_thread_task_runner.h" |
15 #include "components/metrics/client_info.h" | 16 #include "components/metrics/client_info.h" |
16 | 17 |
17 class PrefService; | 18 class PrefService; |
18 class PrefRegistrySimple; | 19 class PrefRegistrySimple; |
19 | 20 |
20 namespace metrics { | 21 namespace metrics { |
21 | 22 |
22 class ClonedInstallDetector; | 23 class ClonedInstallDetector; |
23 class EnabledStateProvider; | 24 class EnabledStateProvider; |
24 | 25 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 EntropySourceType entropy_source_returned_; | 175 EntropySourceType entropy_source_returned_; |
175 | 176 |
176 std::unique_ptr<ClonedInstallDetector> cloned_install_detector_; | 177 std::unique_ptr<ClonedInstallDetector> cloned_install_detector_; |
177 | 178 |
178 DISALLOW_COPY_AND_ASSIGN(MetricsStateManager); | 179 DISALLOW_COPY_AND_ASSIGN(MetricsStateManager); |
179 }; | 180 }; |
180 | 181 |
181 } // namespace metrics | 182 } // namespace metrics |
182 | 183 |
183 #endif // COMPONENTS_METRICS_METRICS_STATE_MANAGER_H_ | 184 #endif // COMPONENTS_METRICS_METRICS_STATE_MANAGER_H_ |
OLD | NEW |