summaryrefslogtreecommitdiff
path: root/payload_state_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'payload_state_interface.h')
-rw-r--r--payload_state_interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/payload_state_interface.h b/payload_state_interface.h
index e0922902..205cb912 100644
--- a/payload_state_interface.h
+++ b/payload_state_interface.h
@@ -56,7 +56,7 @@ class PayloadStateInterface {
// This method should be called whenever an update attempt fails with the
// given error code. We use this notification to update the payload state
// depending on the type of the error that happened.
- virtual void UpdateFailed(ActionExitCode error) = 0;
+ virtual void UpdateFailed(ErrorCode error) = 0;
// Returns true if we should backoff the current download attempt.
// False otherwise.