apps: Clean up AppServiceShelfContextMenu::ShouldAddPinMenu
Type kBorealis had a FALLTHROUGH to the default case, which contains a NOTREACHED(). Remove FALLTHROUGH, since those are only needed for non-empty blocks. Remove default case, so the compiler will emit an error when an app type is not included. This reveals that AppType::kRemote was not being handled. No behavior changed expected. I just noticed this while working on an unrelated issue. Bug: none Change-Id: If55a1473c5739f5070b1377aae7e06da704a1806 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2393949Reviewed-by:Nancy Wang <nancylingwang@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#805969}
Showing
Please register or sign in to comment