desktop-pwas: Introduce TestAppRegistrar in PendingBookmarkAppManager unit tests
Now that PendingBookmarkAppManager doesn't access ExtensionRegistry and ExtensionPrefs directly for installations, we can avoid faking some cases in tests. PendingBookmarkAppManager still uses ExtensionRegistry for uninstallations so we still need to fake some calls to it. Once we abstract uninstallation, we can remove all usage of ExtensionRegistry from tests. Bug: 916381 Change-Id: Ied92df67f8cb6ab7d07ffa5ea64b487e5d50d6e3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1502258 Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org> Reviewed-by:Alexey Baskakov <loyso@chromium.org> Cr-Commit-Position: refs/heads/master@{#638389}
Showing
Please register or sign in to comment