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

Issue 548533003: Replace AttachmentStore's StoreAttachments with UploadAttachments. (Closed)

Created:
6 years, 3 months ago by maniscalco
Modified:
6 years, 3 months ago
Reviewers:
pavely
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

Replace AttachmentStore's StoreAttachments with UploadAttachments. This change is lays groundwork for making attachment upload operations persistent. Make GenericChangeProcessor responsible for writing attachments to the AttachmentStore and calling UploadAttachments. In a future CL, datatype code will be responsible for writing attachments to the store. Queue up attachments for upload inside of AttachmentService. In a future CL we'll add rate limiting, retry, and back-off logic. Expose AttachmentService's AttachmentStore via GetStore method. (This is a reland of issue 512413003.) BUG= Committed: https://crrev.com/38724a8f1286e8a3dd549ef187782aaede275d01 Cr-Commit-Position: refs/heads/master@{#293741}

Patch Set 1 #

Patch Set 2 : Call get() on scoped_refptr. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -235 lines) Patch
M components/sync_driver/generic_change_processor.h View 3 chunks +15 lines, -0 lines 0 comments Download
M components/sync_driver/generic_change_processor.cc View 5 chunks +44 lines, -21 lines 0 comments Download
M components/sync_driver/generic_change_processor_unittest.cc View 7 chunks +33 lines, -24 lines 0 comments Download
M sync/internal_api/attachments/attachment_service_impl.cc View 5 chunks +63 lines, -31 lines 0 comments Download
M sync/internal_api/attachments/attachment_service_impl_unittest.cc View 5 chunks +126 lines, -90 lines 0 comments Download
M sync/internal_api/attachments/attachment_service_proxy.cc View 1 5 chunks +14 lines, -21 lines 0 comments Download
M sync/internal_api/attachments/attachment_service_proxy_unittest.cc View 6 chunks +13 lines, -22 lines 0 comments Download
M sync/internal_api/public/attachments/attachment_service.h View 4 chunks +17 lines, -15 lines 0 comments Download
M sync/internal_api/public/attachments/attachment_service_impl.h View 4 chunks +20 lines, -7 lines 0 comments Download
M sync/internal_api/public/attachments/attachment_service_proxy.h View 2 chunks +8 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
maniscalco
Pavel, would you please review this reland? You have previously reviewed and LGTM'd patch set ...
6 years, 3 months ago (2014-09-05 17:49:54 UTC) #2
pavely
lgtm
6 years, 3 months ago (2014-09-05 17:54:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maniscalco@chromium.org/548533003/20001
6 years, 3 months ago (2014-09-05 18:03:45 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/2527)
6 years, 3 months ago (2014-09-05 19:02:05 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/548533003/20001
6 years, 3 months ago (2014-09-05 21:30:28 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/5931)
6 years, 3 months ago (2014-09-05 23:52:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maniscalco@chromium.org/548533003/20001
6 years, 3 months ago (2014-09-08 15:31:03 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001) as d875ba580aaed07e027d9c74bd2f404430096af2
6 years, 3 months ago (2014-09-08 16:37:34 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:46:47 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/38724a8f1286e8a3dd549ef187782aaede275d01
Cr-Commit-Position: refs/heads/master@{#293741}

Powered by Google App Engine
This is Rietveld 408576698