| Index: remoting/protocol/jingle_messages.h
|
| diff --git a/remoting/protocol/jingle_messages.h b/remoting/protocol/jingle_messages.h
|
| index 73c148f5040ef4f2bea561bc18dea4b2da8e5d1d..019f35bbd9f9e674249c132732bfcb6c3d68f017 100644
|
| --- a/remoting/protocol/jingle_messages.h
|
| +++ b/remoting/protocol/jingle_messages.h
|
| @@ -90,6 +90,11 @@ struct JingleMessage {
|
| // message when parsing fails.
|
| bool ParseXml(const buzz::XmlElement* stanza, std::string* error);
|
|
|
| + // Adds an XmlElement into |attachments|. This function implicitly creates
|
| + // |attachments| if it's empty, and |attachment| should not be an empty
|
| + // unique_ptr.
|
| + void AddAttachment(std::unique_ptr<buzz::XmlElement> attachment);
|
| +
|
| std::unique_ptr<buzz::XmlElement> ToXml() const;
|
|
|
| SignalingAddress from;
|
|
|