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

Issue 10916174: Implement a bag of chips for sync. (Closed)

Created:
8 years, 3 months ago by qsr
Modified:
8 years, 3 months ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), haitaol1, akalin, tim (not reviewing)
Visibility:
Public.

Description

Implement a bag of chips for sync. The bag of chips is a per-client state used by the server. This state is stored on the client and send back to the server on all communication. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156123

Patch Set 1 #

Total comments: 14

Patch Set 2 : Follow review #

Total comments: 1

Patch Set 3 : Moving persistence #

Total comments: 8

Patch Set 4 : Follow review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -11 lines) Patch
M sync/engine/build_commit_command.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M sync/engine/download_updates_command.cc View 1 chunk +1 line, -0 lines 0 comments Download
M sync/engine/syncer_proto_util.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M sync/engine/syncer_proto_util.cc View 1 2 4 chunks +21 lines, -0 lines 0 comments Download
M sync/protocol/sync.proto View 1 2 3 3 chunks +12 lines, -0 lines 0 comments Download
M sync/syncable/directory.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M sync/syncable/directory.cc View 1 chunk +13 lines, -0 lines 0 comments Download
M sync/syncable/directory_backing_store.h View 1 chunk +1 line, -0 lines 0 comments Download
M sync/syncable/directory_backing_store.cc View 10 chunks +36 lines, -11 lines 0 comments Download
M sync/syncable/directory_backing_store_unittest.cc View 1 2 3 4 chunks +124 lines, -0 lines 0 comments Download
M sync/syncable/syncable_unittest.cc View 1 2 3 3 chunks +11 lines, -0 lines 0 comments Download
M sync/test/test_directory_backing_store.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
qsr
8 years, 3 months ago (2012-09-07 14:57:40 UTC) #1
Nicolas Zea
Mostly looks good, some comments. http://codereview.chromium.org/10916174/diff/1/sync/engine/model_changing_syncer_command.cc File sync/engine/model_changing_syncer_command.cc (right): http://codereview.chromium.org/10916174/diff/1/sync/engine/model_changing_syncer_command.cc#newcode51 sync/engine/model_changing_syncer_command.cc:51: SyncerProtoUtil::PersistBagOfChips(session->context()->directory(), we actually want ...
8 years, 3 months ago (2012-09-07 18:38:42 UTC) #2
qsr
http://codereview.chromium.org/10916174/diff/1/sync/engine/model_changing_syncer_command.cc File sync/engine/model_changing_syncer_command.cc (right): http://codereview.chromium.org/10916174/diff/1/sync/engine/model_changing_syncer_command.cc#newcode51 sync/engine/model_changing_syncer_command.cc:51: SyncerProtoUtil::PersistBagOfChips(session->context()->directory(), And I was missing one of the 2. ...
8 years, 3 months ago (2012-09-10 08:12:37 UTC) #3
tim (not reviewing)
http://codereview.chromium.org/10916174/diff/7002/sync/engine/process_commit_response_command.cc File sync/engine/process_commit_response_command.cc (right): http://codereview.chromium.org/10916174/diff/7002/sync/engine/process_commit_response_command.cc#newcode65 sync/engine/process_commit_response_command.cc:65: SyncerError ProcessCommitResponseCommand::ExecuteImpl(SyncSession* session) { mm, I understand how you ...
8 years, 3 months ago (2012-09-10 17:52:55 UTC) #4
qsr
On 2012/09/10 17:52:55, timsteele wrote: > http://codereview.chromium.org/10916174/diff/7002/sync/engine/process_commit_response_command.cc > File sync/engine/process_commit_response_command.cc (right): > > http://codereview.chromium.org/10916174/diff/7002/sync/engine/process_commit_response_command.cc#newcode65 > ...
8 years, 3 months ago (2012-09-11 15:35:55 UTC) #5
tim (not reviewing)
Actually, you picked an even better place. LGTM! https://chromiumcodereview.appspot.com/10916174/diff/10001/sync/protocol/sync.proto File sync/protocol/sync.proto (right): https://chromiumcodereview.appspot.com/10916174/diff/10001/sync/protocol/sync.proto#newcode691 sync/protocol/sync.proto:691: // ...
8 years, 3 months ago (2012-09-11 17:57:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qsr@chromium.org/10916174/3004
8 years, 3 months ago (2012-09-11 18:43:10 UTC) #7
qsr (NOT THE RIGHT qsr)
lgtm https://chromiumcodereview.appspot.com/10916174/diff/10001/sync/protocol/sync.proto File sync/protocol/sync.proto (right): https://chromiumcodereview.appspot.com/10916174/diff/10001/sync/protocol/sync.proto#newcode691 sync/protocol/sync.proto:691: // sent with any subsequent ClientToServerMessages On 2012/09/11 ...
8 years, 3 months ago (2012-09-11 18:48:49 UTC) #8
commit-bot: I haz the power
8 years, 3 months ago (2012-09-11 21:13:37 UTC) #9
Change committed as 156123

Powered by Google App Engine
This is Rietveld 408576698