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_PROFILER_PROFILER_METRICS_PROVIDER_H_ | 5 #ifndef COMPONENTS_METRICS_PROFILER_PROFILER_METRICS_PROVIDER_H_ |
6 #define COMPONENTS_METRICS_PROFILER_PROFILER_METRICS_PROVIDER_H_ | 6 #define COMPONENTS_METRICS_PROFILER_PROFILER_METRICS_PROVIDER_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
10 #include "components/metrics/metrics_provider.h" | 10 #include "components/metrics/metrics_provider.h" |
11 #include "components/metrics/profiler/tracking_synchronizer_observer.h" | 11 #include "components/metrics/profiler/tracking_synchronizer_observer.h" |
12 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h" | 12 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h" |
13 | 13 |
14 namespace tracked_objects { | 14 namespace tracked_objects { |
15 struct ProcessDataPhaseSnapshot; | 15 struct ProcessDataPhaseSnapshot; |
16 } | 16 } |
17 | 17 |
18 namespace metrics { | 18 namespace metrics { |
19 | 19 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // Returns true if current connection type is cellular and user is assigned to | 56 // Returns true if current connection type is cellular and user is assigned to |
57 // experimental group for enabled cellular uploads. | 57 // experimental group for enabled cellular uploads. |
58 base::Callback<bool(void)> cellular_callback_; | 58 base::Callback<bool(void)> cellular_callback_; |
59 | 59 |
60 DISALLOW_COPY_AND_ASSIGN(ProfilerMetricsProvider); | 60 DISALLOW_COPY_AND_ASSIGN(ProfilerMetricsProvider); |
61 }; | 61 }; |
62 | 62 |
63 } // namespace metrics | 63 } // namespace metrics |
64 | 64 |
65 #endif // COMPONENTS_METRICS_PROFILER_PROFILER_METRICS_PROVIDER_H_ | 65 #endif // COMPONENTS_METRICS_PROFILER_PROFILER_METRICS_PROVIDER_H_ |
OLD | NEW |