DescriptionReplace 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.
BUG=
Committed: https://crrev.com/5dde06853d1d5020796184c5fc749b9730ce8f07
Cr-Commit-Position: refs/heads/master@{#293536}
Patch Set 1 #Patch Set 2 : Merge with master. #Patch Set 3 : Fix generic_change_processor_unittest.cc. #Patch Set 4 : Add RunLoop to GenericChangeProcessor unit test. #Patch Set 5 : Changes from self-review. #
Total comments: 4
Patch Set 6 : Apply feedback from pavely@ #Messages
Total messages: 12 (2 generated)
|