summaryrefslogtreecommitdiffstats
path: root/sync/tools
diff options
context:
space:
mode:
authorpavely <pavely@chromium.org>2015-11-24 18:51:36 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-25 02:52:47 +0000
commit2ff76a86882308a81d17ac8bbeb57a95c3578a3e (patch)
treef67fe8e3d4da339dff31f55ecb28a3ae0177b4be /sync/tools
parent3118dde528359280fa0cb3c6fc5b6323e834c514 (diff)
downloadchromium_src-2ff76a86882308a81d17ac8bbeb57a95c3578a3e.zip
chromium_src-2ff76a86882308a81d17ac8bbeb57a95c3578a3e.tar.gz
chromium_src-2ff76a86882308a81d17ac8bbeb57a95c3578a3e.tar.bz2
[Sync] ModelTypeStoreImpl implementation
This is implementation of ModelTypeStore interface. Calls are forwarded to ModelTypeStoreBackend with ids formatted into record keys. Typical pattern for cross-thread communication is that API function creates scoped_ptr variables that will hold future result. These variables are passed as pointers to task that invokes backend. The ownership of these variables is passed to reply object which will be posted when backend function completes. This change lacks tests involving persistence across store initialization and tests with faulty env. These will be added in separate change. R=stanisc@chromium.org,skym@chromium.org BUG=517663 Review URL: https://codereview.chromium.org/1460333002 Cr-Commit-Position: refs/heads/master@{#361528}
Diffstat (limited to 'sync/tools')
0 files changed, 0 insertions, 0 deletions