Chromium Code Reviews| Index: remoting/protocol/jingle_messages.h |
| diff --git a/remoting/protocol/jingle_messages.h b/remoting/protocol/jingle_messages.h |
| index 73c148f5040ef4f2bea561bc18dea4b2da8e5d1d..9ecd051329164df18bb9345f4e87c8558e691a78 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); |
| + // Attaches an XmlElement into |attachments|. If |attachment| is empty, this |
| + // function returns immediately. Otherwise this function implicitly creates |
| + // |attachments| if it's empty. |
| + void AttachAttachment(std::unique_ptr<buzz::XmlElement> attachment); |
|
Sergey Ulanov
2016/12/21 01:38:34
AddAttachment()
Hzj_jie
2016/12/22 00:27:10
Done.
|
| + |
| std::unique_ptr<buzz::XmlElement> ToXml() const; |
| SignalingAddress from; |