desktop-pwas: Multi-profile support for pwa file registration.
When the same app is installed in multiple profiles, the open with context menu needs to distinguish between the different profiles. We do this by adding the profile name in parentheses after the app name, e.g., "foo app (Profile1)". This CL detects when registering and unregistering an app changes the app from being installed in multiple profiles or just a single profile, and updates the app name. This is similar to the way we badge/unbadge pinned taskbar icons when the user switches between having multiple profiles and having a single-profile. Bug: 960245 Change-Id: I4c2a50c55cd8ab45be05eb023b162afc4f634cd0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2023283 Commit-Queue: David Bienvenu <davidbienvenu@chromium.org> Reviewed-by:Alexey Baskakov <loyso@chromium.org> Reviewed-by:
Greg Thompson <grt@chromium.org> Cr-Commit-Position: refs/heads/master@{#738802}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment