Chromium change: https://source.chromium.org/chromium/chromium/src/+/fb4ad98be363120645b2eaff91170de95d86d71b commit fb4ad98be363120645b2eaff91170de95d86d71b Author: Victor Hugo Vianna Silva <victorvianna@google.com> Date: Fri Feb 18 19:00:15 2022 +0000 Plumb WindowAndroid to SendTabToSelfCoordinator No behavior is changed. This will be required to use the AccountPickerBottomSheetCoordinator [1] in that layer later. Besides that: - Remove the plumbing of SyncService::isSyncRequested() through those same layers because it's unused - this was overlooked by crrev.com/c/3449011. Besides being a clean-up, the motivation is we'll want to use the SyncService directly in the coordinator anyways, so there's no need for the plumbing. - Make createBottomSheetContent() private, so show() is the one entry point for the coordinator. - Add a TODO regarding how the metric SharingHubAndroid.SendTabToSelf.NoTargetDevices is now misleading. [1] https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/android/signin/java/src/org/chromium/chrome/browser/ui/signin account_picker/AccountPickerBottomSheetCoordinator.java;l=76;drc=bc1e9573d7bc2802a3e6512a62f28a79faa0ed0c Bug: 1219434