| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ | 5 #ifndef REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ |
| 6 #define REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ | 6 #define REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "remoting/protocol/errors.h" | 12 #include "remoting/protocol/errors.h" |
| 13 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 13 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h" |
| 14 #include "third_party/webrtc/p2p/base/candidate.h" | 14 #include "third_party/webrtc/p2p/base/candidate.h" |
| 15 | 15 |
| 16 namespace remoting { | 16 namespace remoting { |
| 17 namespace protocol { | 17 namespace protocol { |
| 18 | 18 |
| 19 class ContentDescription; | 19 class ContentDescription; |
| 20 | 20 |
| 21 // Represents an address of a Chromoting endpoint and its routing channel. | 21 // Represents an address of a Chromoting endpoint and its routing channel. |
| 22 // TODO(kelvinp): Move the struct to remoting/signaling. Potentially we could | 22 // TODO(kelvinp): Move the struct to remoting/signaling. Potentially we could |
| 23 // update SignalStrategy interface to use this instead of jid for addressing. | 23 // update SignalStrategy interface to use this instead of jid for addressing. |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 std::unique_ptr<buzz::XmlElement> ToXml() const; | 180 std::unique_ptr<buzz::XmlElement> ToXml() const; |
| 181 | 181 |
| 182 std::list<IceCredentials> ice_credentials; | 182 std::list<IceCredentials> ice_credentials; |
| 183 std::list<NamedCandidate> candidates; | 183 std::list<NamedCandidate> candidates; |
| 184 }; | 184 }; |
| 185 | 185 |
| 186 } // protocol | 186 } // protocol |
| 187 } // remoting | 187 } // remoting |
| 188 | 188 |
| 189 #endif // REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ | 189 #endif // REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ |
| OLD | NEW |