MacPWAs: Track browser windows by extension and profile

Browser windows were tracked only by extension id, resulting in strange
multi-profile behavior (e.g, closing a window wouldn't close a shim,
because another profile had a window with the same app id open).

Bug: 942884
Change-Id: I743a265cff31978690d191adc780df1a31a2db46
Commit-Queue: ccameron <>
Reviewed-by: Dominick Ng <>
Cr-Commit-Position: refs/heads/master@{#642838}
2 files changed