desktop-pwas: Add shortcuts even if there is no browser window
Some clients like Default Apps and Policy Apps install apps without a Browser window. Some steps can be skipped for these clients, like sending the install event to the page, but other are needed for example creating shortcuts. Changes BookmarkAppHelper to not return early if there is no Browser window but still skip some unnecessary steps. Bug: 844278 Change-Id: I24003ff51d47937dc349aafca67912224db1eab2 Reviewed-on: https://chromium-review.googlesource.com/1164160Reviewed-by:Dominick Ng <dominickn@chromium.org> Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org> Cr-Commit-Position: refs/heads/master@{#581165}
Showing
Please register or sign in to comment