Crostini multi-profile fix for shelf spinners

crrev.com/c/1491873 added a check to prevent apps from spawning across
profiles, unfortunately it breaks when there arent multiple profiles.

We add a check to confirm the multi-profile support is running that
guards the new code, so that windows still get added to the shelf when
only one profile exists.

Bug: 937697
Change-Id: I74e8293812b5dacfffec8010291059e12b327f7f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1502312
Commit-Queue: Nic Hollingum <hollingum@google.com>
Reviewed-by: Fergus Dall <sidereal@google.com>
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#638869}
1 file changed