ARC: Add badge for Chrome hosted Apps if Arc++ is enabled.
In order to distinguish between the Chrome Apps and Anroid Apps that
have the same icons, a special badge icon is added for Chrome hosted Apps
if Arc++ is enabled. Badge appears in shelf, app list and recent apps.
- Badge is only applied on the Chrome host Apps for the primary user.
If more than one user logs in the system, only the primary user has
the badge.
- Enable/Disable Arc will instantly turn on/off badges.
The implementation is mostly based on khmel@'s initial CL:
https://codereview.chromium.org/1967663007
BUG=b/28521800
TEST=1. Open chrome://settings, click the checkbox to enable/disable Android
Apps. Notice the badges on the Chrome apps appear/disappear accordingly.
2. Log in a second user. Switch between users and notice the badges on
the Chrome apps appear/disappear accordingly.
Committed:
https://crrev.com/622fb32dda21261fd4d8650386fec11822db27b0
Cr-Commit-Position: refs/heads/master@{#400527}