Commit 302e31cb authored by Timothy Loh's avatar Timothy Loh Committed by Commit Bot

Return a more accurate CrostiniResult for failing to start Concierge

Change-Id: Iac811e43639f72801b2de59bfeaaf0ba1b6a66c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1905292
Auto-Submit: Timothy Loh <timloh@chromium.org>
Commit-Queue: Julian Watson <juwa@google.com>
Reviewed-by: default avatarJulian Watson <juwa@google.com>
Cr-Commit-Position: refs/heads/master@{#714130}
parent 95adcd45
...@@ -286,7 +286,7 @@ class CrostiniManager::CrostiniRestarter ...@@ -286,7 +286,7 @@ class CrostiniManager::CrostiniRestarter
return; return;
} }
if (!is_started) { if (!is_started) {
FinishRestart(CrostiniResult::CONTAINER_START_FAILED); FinishRestart(CrostiniResult::CONCIERGE_START_FAILED);
return; return;
} }
......
...@@ -69,7 +69,8 @@ enum class CrostiniResult { ...@@ -69,7 +69,8 @@ enum class CrostiniResult {
UPGRADE_CONTAINER_ALREADY_UPGRADED = 43, UPGRADE_CONTAINER_ALREADY_UPGRADED = 43,
UPGRADE_CONTAINER_FAILED = 44, UPGRADE_CONTAINER_FAILED = 44,
CANCEL_UPGRADE_CONTAINER_FAILED = 45, CANCEL_UPGRADE_CONTAINER_FAILED = 45,
kMaxValue = CANCEL_UPGRADE_CONTAINER_FAILED, CONCIERGE_START_FAILED = 46,
kMaxValue = CONCIERGE_START_FAILED,
}; };
enum class InstallLinuxPackageProgressStatus { enum class InstallLinuxPackageProgressStatus {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment