Home | History | Annotate | Download | only in attachments

Lines Matching refs:Attachment

22 // While Attachment objects themselves aren't immutable (they are assignable)
26 class SYNC_EXPORT Attachment {
28 ~Attachment();
32 // Creates an attachment with a unique id and the supplied data.
34 // Used when creating a brand new attachment.
35 static Attachment Create(const scoped_refptr<base::RefCountedMemory>& data);
37 // Creates an attachment with the supplied id and data.
39 // Used when you want to recreate a specific attachment. E.g. creating a local
40 // copy of an attachment that already exists on the sync server.
41 static Attachment CreateWithId(
45 // Returns this attachment's id.
48 // Returns this attachment's data.
55 Attachment(const AttachmentId& id,
59 typedef std::vector<syncer::Attachment> AttachmentList;
60 typedef std::map<AttachmentId, Attachment> AttachmentMap;