commit | c342e6a6334a8e3a48ba44df6a981cb714beca2e | [log] [tgz] |
---|---|---|
author | Chase Phillips <cmp@chromium.org> | Thu Mar 14 18:07:25 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Mar 14 18:07:25 2019 |
tree | 4c72736320c0d7ecd88f4c6a7ff3b0947210daa0 | |
parent | adea09dce50c767aeb84f979ba955add30225193 [diff] |
IndexedDB: Rename connection and cursor wrappers The SafeIOThreadConnectionWrapper and SafeIOThreadCursorWrapper classes were previously needed when IndexedDBCallbacks was bound on the IDB task runner and was passing a connection or cursor to an IO thread-bound environment. After commit 77bf9a9 / https://crrev.com/c/1405718 landed, the connection and cursor were no longer passed outside the IDB task runner environment, so the wrappers are no longer needed for that purpose. We would remove them, but it's not possible to delete these objects at this point in their lifecycle without violating their design. For example, a connection can't be destroyed while it has an open connection to a database. And a connection can't be forced close while the transaction task queue is being processed. Since we still need these wrappers, update their names to reflect their general purpose to protect these objects. Bug: 717812 Change-Id: Ie5fea19ff7bab74fde5b92a6aa2b4315911614d9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1518756 Commit-Queue: Chase Phillips <cmp@chromium.org> Reviewed-by: Daniel Murphy <dmurph@chromium.org> Cr-Commit-Position: refs/heads/master@{#640839}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .