| commit | 3fee5f7897422fb482c25780fada51b8869c6a8e | [log] [tgz] |
|---|---|---|
| author | palakj <palakj@google.com> | Wed Jul 20 00:21:25 2016 |
| committer | Commit bot <commit-bot@chromium.org> | Wed Jul 20 00:24:01 2016 |
| tree | 0a16549669db4f3d33a3fd7eb484993f24cfacf9 | |
| parent | b3ec3feb3034ef9b28c320b27696094bbab654b3 [diff] |
[IndexedDB] Propogating Changes to Observer : Browser
The Cl only includes filtering and sending changes to observer only at the browser end.
* Each transaction has a connection-changes map.
* Changes contain i. array of observations
ii. map of observer_id to array of indices from observations, that the observer is listening to.
* Changes are filtered during transaction operations
* On transaction commit, for each connection, a single changes map is sent to renderer.
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
TBR=palmer
BUG= 609934
Review-Url: https://codereview.chromium.org/2160163002
Cr-Commit-Position: refs/heads/master@{#406427}