Commit Graph
4 Commits
Author SHA1 Message Date
Francis Tsui 516c0c6e53 Improve logging of skipped share targets due to vendorID.
PiperOrigin-RevId: 744814331
2025-04-07 12:36:03 -07:00
Francis Tsui b8815f5229 Remove legacy log macros.
PiperOrigin-RevId: 735161065
2025-03-09 13:13:10 -07:00
Anay Wadhera a882f5816d Block targets with the same vendor ID
This CL does many things:
1) Adds a new API for RegisterSendSurface to specify vendor ID and whether we should block targets with the same vendor ID.
2) Refactors the sending surface callback observer lists to maps, mirroring Android.
3) Uses WrappedShareTargetDiscoveredCallback, which wraps the passed-in `ShareTargetDiscoveredCallback` and adds blocking on vendor ID (the actual point of this CL).

PiperOrigin-RevId: 639969139
2024-06-03 17:50:47 -07:00
Anay Wadhera b2efc04bb2 Introduce WrappedShareTargetDiscoveredCallback.
PiperOrigin-RevId: 638421531
2024-05-29 14:56:55 -07:00