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

Issue 293143002: Add AttachmentDownloader interface, change signature of AttachmentStore::Read (Closed)

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

Description

Add AttachmentDownloader interface, change signature of AttachmentStore::Read - AttachmentDownloader interface is similar to AttachmentUploader interface. No implementation yet. - AttachmentStore::Read guarantee should be stronger. It should attempt to read all attachments and return list of attachment ids that can't be loaded locally. Those need to be downloaded from server. R=maniscalco@chromium.org BUG=376073 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272585

Patch Set 1 #

Total comments: 11

Patch Set 2 : Fixes after feedback from Nick #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -25 lines) Patch
A sync/api/attachments/attachment_downloader.h View 1 1 chunk +41 lines, -0 lines 0 comments Download
A + sync/api/attachments/attachment_downloader.cc View 1 chunk +3 lines, -5 lines 0 comments Download
M sync/api/attachments/attachment_service_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M sync/api/attachments/attachment_service_impl.cc View 1 chunk +5 lines, -3 lines 0 comments Download
M sync/api/attachments/attachment_store.h View 1 chunk +10 lines, -6 lines 0 comments Download
M sync/api/attachments/attachment_uploader.h View 2 chunks +1 line, -2 lines 0 comments Download
M sync/internal_api/attachments/fake_attachment_store.cc View 2 chunks +10 lines, -3 lines 0 comments Download
M sync/internal_api/attachments/fake_attachment_store_unittest.cc View 1 10 chunks +21 lines, -5 lines 0 comments Download
M sync/sync_api.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
pavely
6 years, 7 months ago (2014-05-22 18:35:31 UTC) #1
maniscalco
lgtm with a few nits https://codereview.chromium.org/293143002/diff/1/sync/api/attachments/attachment_downloader.h File sync/api/attachments/attachment_downloader.h (right): https://codereview.chromium.org/293143002/diff/1/sync/api/attachments/attachment_downloader.h#newcode33 sync/api/attachments/attachment_downloader.h:33: // |callback| will receive ...
6 years, 7 months ago (2014-05-22 20:28:09 UTC) #2
pavely
https://codereview.chromium.org/293143002/diff/1/sync/api/attachments/attachment_downloader.h File sync/api/attachments/attachment_downloader.h (right): https://codereview.chromium.org/293143002/diff/1/sync/api/attachments/attachment_downloader.h#newcode33 sync/api/attachments/attachment_downloader.h:33: // |callback| will receive an DownloadResult code and an ...
6 years, 7 months ago (2014-05-22 21:13:32 UTC) #3
pavely
The CQ bit was checked by pavely@chromium.org
6 years, 7 months ago (2014-05-22 21:13:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavely@chromium.org/293143002/20001
6 years, 7 months ago (2014-05-22 21:14:04 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 07:19:48 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-23 09:15:55 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/31950)
6 years, 7 months ago (2014-05-23 09:15:55 UTC) #8
pavely
The CQ bit was checked by pavely@chromium.org
6 years, 7 months ago (2014-05-23 17:24:14 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pavely@chromium.org/293143002/20001
6 years, 7 months ago (2014-05-23 17:24:33 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 18:07:36 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 20:20:37 UTC) #12
Message was sent while issue was closed.
Change committed as 272585

Powered by Google App Engine
This is Rietveld 408576698