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

Issue 10909160: sync: Process client commands on commit response (Closed)

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

Description

sync: Process client commands on commit response The server sends down client commands on both commit and get update responses. Prior to this change, the client would only react to the commands sent in the get update response. Now it will respond to commands sent in either message. BUG=147680 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156424

Patch Set 1 #

Patch Set 2 : Minor formatting improvement #

Total comments: 2

Patch Set 3 : Move client command processing #

Patch Set 4 : Inline client command processing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -50 lines) Patch
M sync/engine/syncer.h View 2 chunks +0 lines, -4 lines 0 comments Download
M sync/engine/syncer.cc View 3 chunks +0 lines, -33 lines 0 comments Download
M sync/engine/syncer_proto_util.cc View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M sync/engine/syncer_unittest.cc View 2 chunks +39 lines, -3 lines 0 comments Download
M sync/test/engine/mock_connection_manager.h View 2 chunks +5 lines, -2 lines 0 comments Download
M sync/test/engine/mock_connection_manager.cc View 5 chunks +19 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
rlarocque
Please review.
8 years, 3 months ago (2012-09-11 18:07:55 UTC) #1
tim (not reviewing)
http://codereview.chromium.org/10909160/diff/2002/sync/sessions/sync_session.cc File sync/sessions/sync_session.cc (right): http://codereview.chromium.org/10909160/diff/2002/sync/sessions/sync_session.cc#newcode155 sync/sessions/sync_session.cc:155: void SyncSession::ProcessClientCommand(const sync_pb::ClientCommand& command) { We have a few ...
8 years, 3 months ago (2012-09-11 20:08:55 UTC) #2
rlarocque
http://codereview.chromium.org/10909160/diff/2002/sync/sessions/sync_session.cc File sync/sessions/sync_session.cc (right): http://codereview.chromium.org/10909160/diff/2002/sync/sessions/sync_session.cc#newcode155 sync/sessions/sync_session.cc:155: void SyncSession::ProcessClientCommand(const sync_pb::ClientCommand& command) { On 2012/09/11 20:08:55, timsteele ...
8 years, 3 months ago (2012-09-11 20:28:54 UTC) #3
tim (not reviewing)
On 2012/09/11 20:28:54, rlarocque wrote: > http://codereview.chromium.org/10909160/diff/2002/sync/sessions/sync_session.cc > File sync/sessions/sync_session.cc (right): > > http://codereview.chromium.org/10909160/diff/2002/sync/sessions/sync_session.cc#newcode155 > ...
8 years, 3 months ago (2012-09-11 20:46:03 UTC) #4
tim (not reviewing)
lgtm
8 years, 3 months ago (2012-09-11 22:15:33 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/10909160/3013
8 years, 3 months ago (2012-09-11 22:16:43 UTC) #6
commit-bot: I haz the power
Try job failure for 10909160-3013 (retry) on win_rel for steps "interactive_ui_tests, browser_tests" (clobber build). It's ...
8 years, 3 months ago (2012-09-12 02:08:21 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/10909160/3013
8 years, 3 months ago (2012-09-12 19:17:58 UTC) #8
commit-bot: I haz the power
Try job failure for 10909160-3013 (retry) on android for steps "compile, build" (clobber build). It's ...
8 years, 3 months ago (2012-09-12 20:07:10 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rlarocque@chromium.org/10909160/3013
8 years, 3 months ago (2012-09-12 21:32:20 UTC) #10
commit-bot: I haz the power
8 years, 3 months ago (2012-09-12 23:49:31 UTC) #11
Change committed as 156424

Powered by Google App Engine
This is Rietveld 408576698