|
Do not update AttachmentIds after uploading attachments to sync server.
In a previous design iteration we planned to have the sync server assign
an attachments id after receiving an attachment upload. We have since
changed the design so the client is responsible for assigning the
attachment id before upload occurs.
Remove comments related to updating attachment id after upload.
Rename UpdateAttachmentIdWithServerInfo to MarkAttachmentAsOnServer.
Rename UpdateEntriesWithAttachmentId to
UpdateEntriesMarkAttachmentAsOnServer.
BUG= 371522
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283670
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+35 lines, -46 lines) |
Patch |
 |
M |
components/sync_driver/generic_change_processor.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
sync/api/attachments/attachment_uploader.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/attachments/attachment_uploader_impl.cc
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/attachments/attachment_uploader_impl_unittest.cc
|
View
|
|
10 chunks |
+15 lines, -19 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/attachments/fake_attachment_uploader.cc
|
View
|
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/public/write_transaction.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
sync/internal_api/write_transaction.cc
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sync/syncable/directory_unittest.cc
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
sync/syncable/mutable_entry.h
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
sync/syncable/mutable_entry.cc
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|