| 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/callback.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/threading/thread_checker.h" | |
| 11 | 10 |
| 12 namespace metrics { | 11 namespace metrics { |
| 13 class MetricsService; | |
| 14 class MetricsServiceClient; | 12 class MetricsServiceClient; |
| 15 } | 13 } |
| 16 | 14 |
| 17 namespace net { | 15 namespace net { |
| 18 class URLRequestContextGetter; | 16 class URLRequestContextGetter; |
| 19 } | 17 } |
| 20 | 18 |
| 21 namespace rappor { | 19 namespace rappor { |
| 22 class RapporService; | 20 class RapporService; |
| 23 } | 21 } |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 // Returns whether metrics reporting is enabled. | 54 // Returns whether metrics reporting is enabled. |
| 57 virtual bool IsMetricsReportingEnabled() = 0; | 55 virtual bool IsMetricsReportingEnabled() = 0; |
| 58 | 56 |
| 59 // Whether the metrics services should record but not report metrics. | 57 // Whether the metrics services should record but not report metrics. |
| 60 virtual bool OnlyDoMetricsRecording() = 0; | 58 virtual bool OnlyDoMetricsRecording() = 0; |
| 61 }; | 59 }; |
| 62 | 60 |
| 63 } // namespace metrics_services_manager | 61 } // namespace metrics_services_manager |
| 64 | 62 |
| 65 #endif // COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_CLIENT_H
_ | 63 #endif // COMPONENTS_METRICS_SERVICES_MANAGER_METRICS_SERVICES_MANAGER_CLIENT_H
_ |
| OLD | NEW |