Fixes a crash when the user's install flow fails and we press Cancel.
Verified fix using a BrowserTest. Verifying the fix properly meant fleshing out FakeConciergeClient with settable response protos for all methods. Found an invalid DCHECK of |state_| in CrostiniInstallerView when testing. Guard CrostiniRestarterService::Abort. There used to be a DCHECK, but it shouldn't be. It is a legitimate possibility to cancel the install flow right when the the container startup was complete. Bug: 850281 Change-Id: I0cf6bcef1f4f043d9c7e40f3a8baa458fb6f6ba7 Reviewed-on: https://chromium-review.googlesource.com/1089600Reviewed-by:Ryo Hashimoto <hashimoto@chromium.org> Reviewed-by:
Timothy Loh <timloh@chromium.org> Commit-Queue: Nicholas Verne <nverne@chromium.org> Cr-Commit-Position: refs/heads/master@{#565603}
Showing
Please register or sign in to comment