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

Issue 102193004: Checkpointing some Sync Attachment work. Added SyncAttachment and SyncAttachmentId. (Closed)

Created:
7 years ago by maniscalco
Modified:
6 years, 11 months ago
Reviewers:
Nicolas Zea
CC:
chromium-reviews, tim+watch_chromium.org, rsimha+watch_chromium.org, haitaol+watch_chromium.org, albertb+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Checkpointing some Sync Attachment work. Added SyncAttachment and SyncAttachmentId. The interfaces are still in flux and will likely change. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242818

Patch Set 1 #

Patch Set 2 : Added some DCHECKs and another test case. #

Total comments: 14

Patch Set 3 : Applied CR feedback. #

Patch Set 4 : Re-adding blank line to sync.proto. #

Total comments: 2

Patch Set 5 : Applied CR feedback. #

Patch Set 6 : Added missing SYNC_EXPORT_PRIVATE modifier (was cause of link error on trybots). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -6 lines) Patch
A sync/api/sync_attachment.h View 1 2 1 chunk +58 lines, -0 lines 0 comments Download
A sync/api/sync_attachment.cc View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
A sync/api/sync_attachment_unittest.cc View 1 2 1 chunk +54 lines, -0 lines 0 comments Download
A sync/protocol/attachments.proto View 1 2 3 4 1 chunk +24 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions.h View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M sync/protocol/proto_value_conversions_unittest.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M sync/protocol/sync.proto View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M sync/sync_api.gypi View 1 2 1 chunk +8 lines, -6 lines 0 comments Download
M sync/sync_proto.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M sync/sync_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Nicolas Zea
FYI, unless you "publish and mail comments" no email is sent to the reviewer, so ...
6 years, 11 months ago (2013-12-30 19:10:31 UTC) #1
maniscalco
Thanks for the detailed feedback! All applied. RFAL. https://codereview.chromium.org/102193004/diff/20001/sync/api/sync_attachment.cc File sync/api/sync_attachment.cc (right): https://codereview.chromium.org/102193004/diff/20001/sync/api/sync_attachment.cc#newcode41 sync/api/sync_attachment.cc:41: DCHECK(id.has_unique_id()); ...
6 years, 11 months ago (2013-12-30 22:17:18 UTC) #2
Nicolas Zea
Mostly LGTM. The only thing I wonder about is whether we should be using SyncAttachment, ...
6 years, 11 months ago (2013-12-30 23:04:21 UTC) #3
maniscalco
All applied. As we talked about in person, sticking with SyncAttachment over Attachment to preserve ...
6 years, 11 months ago (2013-12-30 23:54:22 UTC) #4
Nicolas Zea
LGTM
6 years, 11 months ago (2013-12-30 23:56:11 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maniscalco@chromium.org/102193004/360001
6 years, 11 months ago (2014-01-02 17:39:39 UTC) #6
commit-bot: I haz the power
6 years, 11 months ago (2014-01-02 22:42:18 UTC) #7
Message was sent while issue was closed.
Change committed as 242818

Powered by Google App Engine
This is Rietveld 408576698