Update UI Shelf to use AppService to verify app_id.
For Crostini, Extension, built-in apps, the AppService is used to valid the app id. For ARC apps, ArcAppListPrefs is used, as ARC apps have some very special cases, e.g. PlayStore. ARC tests also assume synchronous behaviour, and will need more refactoring so the AppService can be used. Related unit tests has been fixed. Extension apps in test cases use OnExtensionLoaded to add extension apps, so set the extension name so that we can use AppService to dump the apps name. BUG=1002351 Change-Id: Ia7f589de82ca226eb05dd1706ab95229699d6fdb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1803015 Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Reviewed-by:Dominick Ng <dominickn@chromium.org> Reviewed-by:
Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#697525}
Showing
Please register or sign in to comment