summaryrefslogtreecommitdiff
path: root/metrics_reporter_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'metrics_reporter_interface.h')
-rw-r--r--metrics_reporter_interface.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/metrics_reporter_interface.h b/metrics_reporter_interface.h
index 2c7ce5b5..13f5a54d 100644
--- a/metrics_reporter_interface.h
+++ b/metrics_reporter_interface.h
@@ -193,6 +193,12 @@ class MetricsReporterInterface {
//
// |kMetricInstallDateProvisioningSource|
virtual void ReportInstallDateProvisioningSource(int source, int max) = 0;
+
+ // Helper function to report an internal error code. The following metrics are
+ // reported:
+ //
+ // |kMetricAttemptInternalErrorCode|
+ virtual void ReportInternalErrorCode(ErrorCode error_code) = 0;
};
} // namespace chromeos_update_engine