[System Web Apps] Prevent System Web Apps installing in tests by default.
This CL changes the System PWA test environment to use an empty TestSystemWebAppManager by default in unit tests (which use TestingProfile), and to install no System PWAs in browser tests unless SystemWebAppManager::InstallSystemAppsForTesting() is called. This essentially makes the production configuration of SystemWebAppManager opt-in rather than opt-out. This is necessary for enabling the SystemWebApps feature by default without impacting the existing default test state (particularly installed extension counts). TBR=jamescook@chromium.org Bug: 836128 Change-Id: I3395c23ca8e7bd89a661316182d9720cadd4c2b6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1609006Reviewed-by:calamity <calamity@chromium.org> Reviewed-by:
Alexey Baskakov <loyso@chromium.org> Commit-Queue: calamity <calamity@chromium.org> Cr-Commit-Position: refs/heads/master@{#660740}
Showing
Please register or sign in to comment