Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[shared storage] Implement the batch
with_lock
option for response …
…header Parse "options;with_lock=xxx" into the `with_lock` parameter. If multiple "options" Items appear in the List, the last one will be used. The parsed value is passed to the browser process's `BatchUpdate()` API in the lock manager. This allows developers to perform multiple Shared Storage operations atomically within a single lock, as part of the Web Lock integration proposal: - WICG/shared-storage#199 - WICG/shared-storage#205 Bug: 373899210 Change-Id: Id041e92075b22988656a3db4f1a74792312ee422 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6072742 Reviewed-by: Gary Kacmarcik <garykac@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: Yao Xiao <yaoxia@chromium.org> Reviewed-by: Joe Mason <joenotcharles@google.com> Reviewed-by: Cammie Smith Barnes <cammie@chromium.org> Reviewed-by: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/main@{#1397664}
- Loading branch information