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

Issue 215973007: [Sync] Add plumbing of context from client to server (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, maniscalco+watch_chromium.org
Visibility:
Public.

Description

[Sync] Add plumbing of context from client to server The datatype context is now written into the directory and plumbed up to the server on every GetUpdates or Commit request. GetUpdatesResponses also now overwrite the context if the version returned is the same or higher. BUG=345420 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=261873

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase and address comments #

Patch Set 3 : Fix compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+169 lines, -38 lines) Patch
M chrome/browser/sync/glue/generic_change_processor.cc View 1 2 2 chunks +14 lines, -1 line 0 comments Download
M sync/engine/directory_commit_contribution.h View 1 3 chunks +3 lines, -1 line 0 comments Download
M sync/engine/directory_commit_contribution.cc View 1 3 chunks +13 lines, -7 lines 0 comments Download
M sync/engine/directory_update_handler.h View 1 1 chunk +4 lines, -14 lines 0 comments Download
M sync/engine/directory_update_handler.cc View 1 2 chunks +21 lines, -0 lines 0 comments Download
M sync/engine/directory_update_handler_unittest.cc View 1 3 chunks +9 lines, -2 lines 0 comments Download
M sync/engine/get_updates_processor.cc View 1 5 chunks +41 lines, -6 lines 0 comments Download
M sync/engine/get_updates_processor_unittest.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M sync/engine/non_blocking_type_processor_core.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M sync/engine/non_blocking_type_processor_core.cc View 1 3 chunks +12 lines, -4 lines 0 comments Download
M sync/engine/update_handler.h View 1 3 chunks +6 lines, -0 lines 0 comments Download
M sync/internal_api/public/write_transaction.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M sync/internal_api/write_transaction.cc View 1 2 chunks +24 lines, -0 lines 0 comments Download
M sync/test/engine/mock_update_handler.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M sync/test/engine/mock_update_handler.cc View 1 1 chunk +9 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Nicolas Zea
PTAL. This patch builds off https://codereview.chromium.org/218623014/
6 years, 8 months ago (2014-04-03 01:00:55 UTC) #1
rlarocque
Some comments from the first pass. https://codereview.chromium.org/215973007/diff/1/chrome/browser/sync/glue/generic_change_processor.cc File chrome/browser/sync/glue/generic_change_processor.cc (right): https://codereview.chromium.org/215973007/diff/1/chrome/browser/sync/glue/generic_change_processor.cc#newcode162 chrome/browser/sync/glue/generic_change_processor.cc:162: return syncer::SyncError(); // ...
6 years, 8 months ago (2014-04-03 17:31:58 UTC) #2
Nicolas Zea
PTAL. I've moved some the SetDataTypeContext logic into the WriteTransaction, since the generic change processor ...
6 years, 8 months ago (2014-04-03 22:56:46 UTC) #3
rlarocque
lgtm
6 years, 8 months ago (2014-04-03 23:13:35 UTC) #4
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 8 months ago (2014-04-04 04:56:25 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/215973007/40001
6 years, 8 months ago (2014-04-04 04:56:34 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-04 06:28:32 UTC) #7
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 06:28:32 UTC) #8
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 8 months ago (2014-04-04 18:01:22 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/215973007/60001
6 years, 8 months ago (2014-04-04 18:02:17 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-04 19:36:03 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_rel
6 years, 8 months ago (2014-04-04 19:36:03 UTC) #12
Nicolas Zea
The CQ bit was checked by zea@chromium.org
6 years, 8 months ago (2014-04-04 19:37:25 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zea@chromium.org/215973007/60001
6 years, 8 months ago (2014-04-04 19:38:27 UTC) #14
commit-bot: I haz the power
6 years, 8 months ago (2014-04-04 21:10:29 UTC) #15
Message was sent while issue was closed.
Change committed as 261873

Powered by Google App Engine
This is Rietveld 408576698