commit | fdcd3fc28f874510aa16baa4e8a31773a305512c | [log] [tgz] |
---|---|---|
author | Mohamed Amir Yosef <mamir@chromium.org> | Wed Apr 11 07:58:15 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Apr 11 07:58:15 2018 |
tree | bb8ca53bbc3af20e97020e8d30218af051b19537 | |
parent | 9e82c21a324d6b46b01f8808b7e5b640187cfc5f [diff] |
[Sync USS] Load entities in CTBMTP when the Sync engine is ready Before this CL: Data are loaded in ClientTagBasedModelTypeProcessor on startup. Data are kept in memory until they are committed which can never happen (if the client is offline for example). After this CL: Only metadata are loaded at startup, and only after the Sync engine asks for local changes, data are loaded in memory. As a result, GetLocalChanges method in the processor is called asynchronously because the required data are not necessarily available in memory. Bug: 740757 Change-Id: I8a11ddc0c8136775f0075697ba6b8ee3975685fa Reviewed-on: https://chromium-review.googlesource.com/825562 Commit-Queue: Mohamed Amir Yosef <mamir@chromium.org> Reviewed-by: Pavel Yatsuk <pavely@chromium.org> Cr-Commit-Position: refs/heads/master@{#549815}
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 .