Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / sync / syncable / mutable_entry.h
index 1709475..615fe80 100644 (file)
@@ -62,11 +62,10 @@ 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);
+  // 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