forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebUI Settings: Add request queue to CookiesViewHandler
Previously the handler (D)CHECK enforced that only a single operation could be in progress at any one time. No enforcement of this invariant occurs in JS code. A delay in retrieving information from storage providers, or changes to pages which are unaware of this subtlety, could result in tripping this. This CL introduces a queue for requests that is opaque to JavaScript and ensures that only a single tree model batch operation occurs at a time. Bug: 1141796 Change-Id: If246d5f5173ed8cb521045d7c5a7216e5fe7179f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2390751 Commit-Queue: Theodore Olsauskas-Warren <sauski@google.com> Reviewed-by: Martin Šrámek <msramek@chromium.org> Reviewed-by: dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#848078}
- Loading branch information
1 parent
5cc4104
commit 05af7c5
Showing
11 changed files
with
822 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.