Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Issue 1421833004: [Sync] Add ModelTypeStore implementation. (Closed)

Created:
5 years, 1 month ago by pavely
Modified:
5 years, 1 month ago
Reviewers:
stanisc
CC:
chromium-reviews, tim+watch_chromium.org, pvalenzuela+watch_chromium.org, maxbogue+watch_chromium.org, plaree+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@USS.StoreInterface
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Sync] Add ModelTypeStore implementation. In this change I added ModelTypeStoreImpl and ModelTypeStoreBackend classes. This change only deals with classes initialization and threading. To make life of reviewer easier I will add actual IO operations in separate change. BUG=517663 R=stanisc@chromium.org Committed: https://crrev.com/0225b0d41f7660539b9b698af5fa1434216c6394 Cr-Commit-Position: refs/heads/master@{#357660}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressing comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+317 lines, -2 lines) Patch
M sync/BUILD.gn View 3 chunks +5 lines, -0 lines 0 comments Download
M sync/api/model_type_store.cc View 1 chunk +2 lines, -2 lines 0 comments Download
A sync/internal_api/model_type_store_backend.cc View 1 chunk +24 lines, -0 lines 0 comments Download
A sync/internal_api/model_type_store_impl.cc View 1 1 chunk +133 lines, -0 lines 0 comments Download
A sync/internal_api/model_type_store_impl_unittest.cc View 1 chunk +51 lines, -0 lines 0 comments Download
A sync/internal_api/public/model_type_store_backend.h View 1 chunk +26 lines, -0 lines 0 comments Download
A sync/internal_api/public/model_type_store_impl.h View 1 chunk +71 lines, -0 lines 0 comments Download
M sync/sync.gyp View 2 chunks +4 lines, -0 lines 0 comments Download
M sync/sync_tests.gypi View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 8 (2 generated)
pavely
PTAL. This change is based on Interface change (http://crrev.com/1422083002). Once Interface change lands I'll rebase ...
5 years, 1 month ago (2015-11-03 01:34:58 UTC) #1
stanisc
lgtm with a few minor comments. https://codereview.chromium.org/1421833004/diff/1/sync/internal_api/model_type_store_impl.cc File sync/internal_api/model_type_store_impl.cc (right): https://codereview.chromium.org/1421833004/diff/1/sync/internal_api/model_type_store_impl.cc#newcode62 sync/internal_api/model_type_store_impl.cc:62: DCHECK(store->CalledOnValidThread()); Why this ...
5 years, 1 month ago (2015-11-03 18:52:20 UTC) #2
pavely
https://codereview.chromium.org/1421833004/diff/1/sync/internal_api/model_type_store_impl.cc File sync/internal_api/model_type_store_impl.cc (right): https://codereview.chromium.org/1421833004/diff/1/sync/internal_api/model_type_store_impl.cc#newcode62 sync/internal_api/model_type_store_impl.cc:62: DCHECK(store->CalledOnValidThread()); On 2015/11/03 18:52:20, stanisc wrote: > Why this ...
5 years, 1 month ago (2015-11-03 21:38:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421833004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421833004/20001
5 years, 1 month ago (2015-11-03 21:40:55 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-03 22:42:15 UTC) #7
commit-bot: I haz the power
5 years, 1 month ago (2015-11-03 22:43:25 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0225b0d41f7660539b9b698af5fa1434216c6394
Cr-Commit-Position: refs/heads/master@{#357660}

Powered by Google App Engine
This is Rietveld 408576698