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

Issue 567053002: Pass AttachmentIdList instead of AttachmentList to SyncData (Closed)

Created:
6 years, 3 months ago by pavely
Modified:
6 years, 3 months ago
Reviewers:
maniscalco
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, zea+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Pass AttachmentIdList instead of AttachmentList to SyncData Datatype is responsible for writing attachments to AttachmentStore. GenericChangeProcessor doesn't need attachment data in SyncData, only list of attachment ids. This change removes AttachmentList from SyncData and fixes corresponding dependencies. BUG= R=maniscalco@chromium.org Committed: https://crrev.com/28667de498d657951a9fb4858e2b7c1ddf7c3016 Cr-Commit-Position: refs/heads/master@{#294879}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Rebase. Fix test. Apply feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -157 lines) Patch
M components/sync_driver/generic_change_processor.h View 1 chunk +13 lines, -18 lines 0 comments Download
M components/sync_driver/generic_change_processor.cc View 1 8 chunks +15 lines, -54 lines 0 comments Download
M components/sync_driver/generic_change_processor_unittest.cc View 1 8 chunks +18 lines, -25 lines 0 comments Download
M sync/api/sync_data.h View 1 6 chunks +3 lines, -9 lines 0 comments Download
M sync/api/sync_data.cc View 1 7 chunks +14 lines, -40 lines 0 comments Download
M sync/api/sync_data_unittest.cc View 2 chunks +8 lines, -11 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
pavely
6 years, 3 months ago (2014-09-12 20:53:50 UTC) #1
maniscalco
Very nice, here's my feedback. https://codereview.chromium.org/567053002/diff/1/components/sync_driver/generic_change_processor.cc File components/sync_driver/generic_change_processor.cc (right): https://codereview.chromium.org/567053002/diff/1/components/sync_driver/generic_change_processor.cc#newcode727 components/sync_driver/generic_change_processor.cc:727: // Begin uploading the ...
6 years, 3 months ago (2014-09-12 23:23:34 UTC) #2
pavely
PTAL https://codereview.chromium.org/567053002/diff/1/components/sync_driver/generic_change_processor.cc File components/sync_driver/generic_change_processor.cc (right): https://codereview.chromium.org/567053002/diff/1/components/sync_driver/generic_change_processor.cc#newcode727 components/sync_driver/generic_change_processor.cc:727: // Begin uploading the attachments now that they ...
6 years, 3 months ago (2014-09-15 17:41:50 UTC) #3
maniscalco
lgtm
6 years, 3 months ago (2014-09-15 18:40:25 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/567053002/20001
6 years, 3 months ago (2014-09-15 19:16:48 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 722529415776f449737f1dad73b3680f95053a5b
6 years, 3 months ago (2014-09-15 20:22:00 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-15 20:24:38 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/28667de498d657951a9fb4858e2b7c1ddf7c3016
Cr-Commit-Position: refs/heads/master@{#294879}

Powered by Google App Engine
This is Rietveld 408576698