void PutAttachmentMetadata(
const sync_pb::AttachmentMetadata& attachment_metadata);
- // Update attachment metadata, replace all records matching attachment id's
- // unique id with updated attachment id that contains server info.
- // Set is_in_server for corresponding records.
- void UpdateAttachmentIdWithServerInfo(
- const sync_pb::AttachmentIdProto& updated_attachment_id);
+ // Update attachment metadata for |attachment_id| to indicate that this
+ // attachment has been uploaded to the sync server.
+ void MarkAttachmentAsOnServer(
+ const sync_pb::AttachmentIdProto& attachment_id);
private:
// Kind of redundant. We should reduce the number of pointers