| commit | 05f35eab096fe52eab3af2c6db191c1285dc5a68 | [log] [tgz] |
|---|---|---|
| author | palakj <palakj@google.com> | Fri Jul 08 00:59:21 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Fri Jul 08 01:00:55 2016 |
| tree | a3c2dd8222ebfa4fe03e2b3c7c6ecd7123c23d7b | |
| parent | 3d86ed8b58e1320c9bc8d200a225bfc06241f823 [diff] |
[IDBObserver] Lifetime Management: Adding and Removing Observer * Corresponding to each observe call at renderer side, an Observer object is created in the backend. * The observer begins observing after the completion of transaction it was created with. * The observer is removed when we have an unobserve call on observer or database connection closes. Current Implementation and Future Scope: https://docs.google.com/a/google.com/document/d/1viweV7zje2vK9IC-_G0PYlWgGrBhcVYlIMFsogsoHmM/edit?usp=sharing Reference: https://github.com/dmurph/indexed-db-observers/blob/gh-pages/EXPLAINER.md BUG=609934 Review-Url: https://codereview.chromium.org/2062203004 Cr-Commit-Position: refs/heads/master@{#404283}