commit | 1aa3e281345b61f1b51f57f7181b84ec4c7fff37 | [log] [tgz] |
---|---|---|
author | David Maunder <davidjm@google.com> | Tue May 21 19:53:16 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 21 19:53:16 2024 |
tree | bd3e9f1ca05001c9c1a2e68f8e0725435311b037 | |
parent | 96596f0c194bbb87378a3e964508b74b70956e60 [diff] |
Add asynchronous API for GetProductSpecifications and queuing Sometimes GetProductSpecifications is called before sync is initialized, resulting in an empty list. This CL adds deferred operations which tracks requests into the ProductSpecifications API and queues them if sync isn't initialized yet. When sync is initialized, the deferred operations are executed in the order they were received. GetProductSpecifications is the first API method to take advantage of this queuing, however, other APIs can be migrated too (e.g. add, delete). Bug: b:341847257 Change-Id: I39e46559fa634a2e4786199788c07dd3ab5d2c90 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5552035 Reviewed-by: Matthew Jones <mdjones@chromium.org> Commit-Queue: David Maunder <davidjm@chromium.org> Cr-Commit-Position: refs/heads/main@{#1303986}
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.