[filesapp] Change startInitBackgroundPage_ for files app SWA case
Initialize this.backgroundPage_ with new BackgroundWindowSWA() fake if Files app is running in the SWA container. window.BackgroundWindowSWA || null is used to pass Closure compile for current Files app (there are no extern defines for the SWA fakes). No change in Files app behavior. Test: browser_tests --gtest_filter="*launchFilesAppSwa*" Bug: 1113981 Change-Id: Ia079ea266583afd5a2ea67412758a77939327c8b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2542931Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Reviewed-by:
Alex Danilo <adanilo@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#828068}
Showing
Please register or sign in to comment