summaryrefslogtreecommitdiff
path: root/update_status_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'update_status_utils.h')
-rw-r--r--update_status_utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/update_status_utils.h b/update_status_utils.h
index 30ae53b7..9d851441 100644
--- a/update_status_utils.h
+++ b/update_status_utils.h
@@ -25,6 +25,10 @@ namespace chromeos_update_engine {
const char* UpdateStatusToString(const update_engine::UpdateStatus& status);
+// Convert the UpdateStatus |status| to the string reported in the weave status.
+const char* UpdateStatusToWeaveStatus(
+ const update_engine::UpdateStatus& status);
+
bool StringToUpdateStatus(const std::string& update_status_as_string,
update_engine::UpdateStatus* status);