OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_CLIENT_H_ | 5 #ifndef COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_CLIENT_H_ |
6 #define COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_CLIENT_H_ | 6 #define COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_CLIENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/callback.h" | 8 #include "base/callback.h" |
10 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
11 #include "base/threading/thread_checker.h" | 10 #include "base/threading/thread_checker.h" |
12 | 11 |
13 namespace metrics { | 12 namespace metrics { |
14 class MetricsService; | 13 class MetricsService; |
15 class MetricsServiceClient; | 14 class MetricsServiceClient; |
16 } | 15 } |
17 | 16 |
18 namespace net { | 17 namespace net { |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 // Returns whether metrics reporting is enabled. | 56 // Returns whether metrics reporting is enabled. |
58 virtual bool IsMetricsReportingEnabled() = 0; | 57 virtual bool IsMetricsReportingEnabled() = 0; |
59 | 58 |
60 // Whether the metrics services should record but not report metrics. | 59 // Whether the metrics services should record but not report metrics. |
61 virtual bool OnlyDoMetricsRecording() = 0; | 60 virtual bool OnlyDoMetricsRecording() = 0; |
62 }; | 61 }; |
63 | 62 |
64 } // namespace metrics_services_manager | 63 } // namespace metrics_services_manager |
65 | 64 |
66 #endif // COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_CLIENT_H
_ | 65 #endif // COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_CLIENT_H
_ |
OLD | NEW |