Lines Matching refs:MessageAttachment
21 const std::vector<scoped_refptr<MessageAttachment>>& attachments, in count_attachments_of_type()
22 MessageAttachment::Type type) { in count_attachments_of_type()
24 for (const scoped_refptr<MessageAttachment>& attachment : attachments) { in count_attachments_of_type()
55 MessageAttachment::Type::PLATFORM_FILE); in num_descriptors()
63 scoped_refptr<MessageAttachment> attachment, in AddAttachment()
66 if (attachment->GetType() == MessageAttachment::Type::PLATFORM_FILE && in AddAttachment()
74 case MessageAttachment::Type::PLATFORM_FILE: in AddAttachment()
75 case MessageAttachment::Type::MOJO_HANDLE: in AddAttachment()
76 case MessageAttachment::Type::WIN_HANDLE: in AddAttachment()
77 case MessageAttachment::Type::MACH_PORT: in AddAttachment()
78 case MessageAttachment::Type::FUCHSIA_HANDLE: in AddAttachment()
87 scoped_refptr<MessageAttachment> attachment) { in AddAttachment()
92 scoped_refptr<MessageAttachment> MessageAttachmentSet::GetAttachmentAt( in GetAttachmentAt()
96 return scoped_refptr<MessageAttachment>(); in GetAttachmentAt()
120 return scoped_refptr<MessageAttachment>(); in GetAttachmentAt()