| 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_SERVICE_CLIENT_H_ | 5 #ifndef COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_ |
| 6 #define COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_ | 6 #define COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // //content and thus do not have //content's notification system available | 110 // //content and thus do not have //content's notification system available |
| 111 // as a mechanism for observing renderer crashes). | 111 // as a mechanism for observing renderer crashes). |
| 112 virtual void OnRendererProcessCrash() {} | 112 virtual void OnRendererProcessCrash() {} |
| 113 | 113 |
| 114 // Returns whether metrics reporting is managed by policy. | 114 // Returns whether metrics reporting is managed by policy. |
| 115 virtual bool IsReportingPolicyManaged(); | 115 virtual bool IsReportingPolicyManaged(); |
| 116 | 116 |
| 117 // Gets information about the default value for the enable metrics reporting | 117 // Gets information about the default value for the enable metrics reporting |
| 118 // checkbox shown during first-run. | 118 // checkbox shown during first-run. |
| 119 virtual EnableMetricsDefault GetDefaultOptIn(); | 119 virtual EnableMetricsDefault GetDefaultOptIn(); |
| 120 |
| 121 // Returns whether cellular logic is enabled for metrics reporting. |
| 122 virtual bool IsUMACellularUploadLogicEnabled(); |
| 120 }; | 123 }; |
| 121 | 124 |
| 122 } // namespace metrics | 125 } // namespace metrics |
| 123 | 126 |
| 124 #endif // COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_ | 127 #endif // COMPONENTS_METRICS_METRICS_SERVICE_CLIENT_H_ |
| OLD | NEW |