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

Issue 218623014: [Sync] Add context proto and directory support (Closed)

Created:
6 years, 8 months ago by Nicolas Zea
Modified:
6 years, 8 months ago
Reviewers:
rlarocque, maniscalco
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, albertb+watch_chromium.org, maniscalco+watch_chromium.org
Visibility:
Public.

Description

[Sync] Add context proto and directory support Still not hooked up to anything, but the proto and directory persistence are now there. BUG=358352 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261666

Patch Set 1 #

Patch Set 2 : Fix test #

Patch Set 3 : Update protos #

Total comments: 18

Patch Set 4 : Rebase and address comments #

Total comments: 2

Patch Set 5 : Add transaction param #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -11 lines) Patch
M sync/protocol/proto_value_conversions.cc View 1 2 3 3 chunks +11 lines, -0 lines 0 comments Download
M sync/protocol/sync.proto View 1 2 3 4 chunks +20 lines, -0 lines 0 comments Download
M sync/syncable/directory.h View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M sync/syncable/directory.cc View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
M sync/syncable/directory_backing_store.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M sync/syncable/directory_backing_store.cc View 1 2 3 10 chunks +43 lines, -7 lines 0 comments Download
M sync/syncable/directory_backing_store_unittest.cc View 1 2 3 6 chunks +138 lines, -4 lines 0 comments Download
M sync/test/test_directory_backing_store.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Nicolas Zea
Here's the follow up patch I mentioned.
6 years, 8 months ago (2014-04-02 20:05:00 UTC) #1
rlarocque
https://codereview.chromium.org/218623014/diff/40001/sync/protocol/proto_value_conversions.cc File sync/protocol/proto_value_conversions.cc (right): https://codereview.chromium.org/218623014/diff/40001/sync/protocol/proto_value_conversions.cc#newcode873 sync/protocol/proto_value_conversions.cc:873: SET_INT32(type); off-topic: We should add a SET_TYPE macro. I'm ...
6 years, 8 months ago (2014-04-03 01:08:06 UTC) #2
maniscalco
https://codereview.chromium.org/218623014/diff/40001/sync/protocol/sync.proto File sync/protocol/sync.proto (right): https://codereview.chromium.org/218623014/diff/40001/sync/protocol/sync.proto#newcode633 sync/protocol/sync.proto:633: // Set of optional per-client datatype contexts. Just for ...
6 years, 8 months ago (2014-04-03 16:59:36 UTC) #3
rlarocque
https://codereview.chromium.org/218623014/diff/40001/sync/syncable/directory.cc File sync/syncable/directory.cc (right): https://codereview.chromium.org/218623014/diff/40001/sync/syncable/directory.cc#newcode804 sync/syncable/directory.cc:804: kernel_->transaction_mutex.AssertAcquired(); What's up with this pattern? I thought the ...
6 years, 8 months ago (2014-04-03 17:36:55 UTC) #4
Nicolas Zea
PTAL https://codereview.chromium.org/218623014/diff/40001/sync/protocol/proto_value_conversions.cc File sync/protocol/proto_value_conversions.cc (right): https://codereview.chromium.org/218623014/diff/40001/sync/protocol/proto_value_conversions.cc#newcode873 sync/protocol/proto_value_conversions.cc:873: SET_INT32(type); On 2014/04/03 01:08:06, rlarocque wrote: > off-topic: ...
6 years, 8 months ago (2014-04-03 21:01:10 UTC) #5
rlarocque
https://codereview.chromium.org/218623014/diff/60001/sync/syncable/directory.cc File sync/syncable/directory.cc (right): https://codereview.chromium.org/218623014/diff/60001/sync/syncable/directory.cc#newcode796 sync/syncable/directory.cc:796: sync_pb::DataTypeContext* context) const { This is better, but I ...
6 years, 8 months ago (2014-04-03 21:17:55 UTC) #6
Nicolas Zea
PTAL https://codereview.chromium.org/218623014/diff/60001/sync/syncable/directory.cc File sync/syncable/directory.cc (right): https://codereview.chromium.org/218623014/diff/60001/sync/syncable/directory.cc#newcode796 sync/syncable/directory.cc:796: sync_pb::DataTypeContext* context) const { On 2014/04/03 21:17:56, rlarocque ...
6 years, 8 months ago (2014-04-03 22:11:49 UTC) #7
rlarocque
LGTM.
6 years, 8 months ago (2014-04-03 22:25:48 UTC) #8
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 8 months ago (2014-04-03 22:56:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/218623014/80001
6 years, 8 months ago (2014-04-03 22:58:24 UTC) #10
maniscalco
On 2014/04/03 22:58:24, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 8 months ago (2014-04-03 23:12:35 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-04 00:08:12 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-04 00:08:12 UTC) #13
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 8 months ago (2014-04-04 03:03:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/218623014/80001
6 years, 8 months ago (2014-04-04 03:03:56 UTC) #15
commit-bot: I haz the power
6 years, 8 months ago (2014-04-04 04:23:16 UTC) #16
Message was sent while issue was closed.
Change committed as 261666

Powered by Google App Engine
This is Rietveld 408576698