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

Issue 278263003: Add a minimal AttachmentUploaderImpl. (Closed)

Created:
6 years, 7 months ago by maniscalco
Modified:
6 years, 7 months ago
Reviewers:
pavely
CC:
chromium-reviews, tim+watch_chromium.org, haitaol+watch_chromium.org, maniscalco+watch_chromium.org
Visibility:
Public.

Description

Add a minimal AttachmentUploaderImpl. This is a "dumbed down" implementation with several open TODOs. Future CLs will add auth support and wire it in to the rest of sync. Wire protocol is in flux and will change once the server has been implemented. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271212

Patch Set 1 : Clean up after self-review. #

Total comments: 6

Patch Set 2 : Apply CR feedback from pavely. #

Total comments: 7

Patch Set 3 : Apply 2nd round of CR feedback from pavely. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+497 lines, -0 lines) Patch
A sync/internal_api/attachments/attachment_uploader_impl.cc View 1 1 chunk +182 lines, -0 lines 0 comments Download
A sync/internal_api/attachments/attachment_uploader_impl_unittest.cc View 1 2 1 chunk +257 lines, -0 lines 0 comments Download
M sync/internal_api/attachments/fake_attachment_uploader.cc View 2 chunks +3 lines, -0 lines 0 comments Download
A sync/internal_api/public/attachments/attachment_uploader_impl.h View 1 1 chunk +52 lines, -0 lines 0 comments Download
M sync/sync_internal_api.gypi View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M sync/sync_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
maniscalco
Hi Pavel, would you please review this change?
6 years, 7 months ago (2014-05-12 20:29:51 UTC) #1
pavely
There are three main issues. Let's address those and then I'll do one thorough pass ...
6 years, 7 months ago (2014-05-14 18:38:31 UTC) #2
maniscalco
Thanks for the feedback. RFAL! https://codereview.chromium.org/278263003/diff/20001/sync/internal_api/attachments/attachment_server_url_builder.cc File sync/internal_api/attachments/attachment_server_url_builder.cc (right): https://codereview.chromium.org/278263003/diff/20001/sync/internal_api/attachments/attachment_server_url_builder.cc#newcode44 sync/internal_api/attachments/attachment_server_url_builder.cc:44: return GURL(url_prefix_ + unique_id); ...
6 years, 7 months ago (2014-05-14 21:59:03 UTC) #3
pavely
https://codereview.chromium.org/278263003/diff/40001/sync/internal_api/attachments/attachment_uploader_impl.cc File sync/internal_api/attachments/attachment_uploader_impl.cc (right): https://codereview.chromium.org/278263003/diff/40001/sync/internal_api/attachments/attachment_uploader_impl.cc#newcode135 sync/internal_api/attachments/attachment_uploader_impl.cc:135: // Destroy this object and return immediately. This is ...
6 years, 7 months ago (2014-05-15 23:27:28 UTC) #4
maniscalco
Thanks for the feedback, RFAL! https://codereview.chromium.org/278263003/diff/40001/sync/internal_api/attachments/attachment_uploader_impl_unittest.cc File sync/internal_api/attachments/attachment_uploader_impl_unittest.cc (right): https://codereview.chromium.org/278263003/diff/40001/sync/internal_api/attachments/attachment_uploader_impl_unittest.cc#newcode34 sync/internal_api/attachments/attachment_uploader_impl_unittest.cc:34: class AttachmentUploaderImplTest; On 2014/05/15 ...
6 years, 7 months ago (2014-05-16 16:46:36 UTC) #5
pavely
lgtm
6 years, 7 months ago (2014-05-16 18:34:57 UTC) #6
maniscalco
The CQ bit was checked by maniscalco@chromium.org
6 years, 7 months ago (2014-05-16 18:46:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maniscalco@chromium.org/278263003/60001
6 years, 7 months ago (2014-05-16 18:47:26 UTC) #8
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-16 19:18:52 UTC) #9
commit-bot: I haz the power
6 years, 7 months ago (2014-05-17 15:52:13 UTC) #10
Message was sent while issue was closed.
Change committed as 271212

Powered by Google App Engine
This is Rietveld 408576698