commit | 6baf367e2052efef25179c23261237359779d05a | [log] [tgz] |
---|---|---|
author | Shakti Sahu <shaktisahu@chromium.org> | Thu Nov 14 02:56:00 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Nov 14 02:56:00 2024 |
tree | 8435e38f9024802147be599c706c02f08ab2f478 | |
parent | a82da32cac1668111316d5885e34d2be15ee81a0 [diff] |
[TG Sync] TGSS should wait for people group data before notifying UI When a shared tab group is to be shown for the first time (regardless whether it's on creator's device or on join flow or creator's other device), the tab group should not be shown on the UI if the corresponding people group isn't available on the device yet. Since the people group and the shared tab group are two different sync entities received as different messages from sync, we don't have control over them. Hence, a better solutin is to have TabGroupSyncService wait for the people group to be available on the DataSharingService. Since we don't want to create direct dependency of TGSS on DSS, this CL proposes another class ( CollaborationFinder) to be injected into TGSS on construction which will be responsible for providing people group related information. This interface will have a query API and a observer API about people group availability. Bug: 377978696 Change-Id: I85da1d171efe66054320e33d534ca4e753cbac96 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6009120 Reviewed-by: Tommy Nyquist <nyquist@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Shakti Sahu <shaktisahu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1382771}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.