Index: sync/syncable/mutable_entry.h |
diff --git a/sync/syncable/mutable_entry.h b/sync/syncable/mutable_entry.h |
index c064358082ec274331cc2bde4fcb36c6de12a7b5..9b9111366a102638ffcc54f4c355c6ace1c33979 100644 |
--- a/sync/syncable/mutable_entry.h |
+++ b/sync/syncable/mutable_entry.h |
@@ -62,6 +62,12 @@ class SYNC_EXPORT_PRIVATE MutableEntry : public ModelNeutralMutableEntry { |
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); |
+ |
private: |
// Kind of redundant. We should reduce the number of pointers |
// floating around if at all possible. Could we store this in Directory? |