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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 std::unique_ptr<buzz::XmlElement> ToXml() const; | 185 std::unique_ptr<buzz::XmlElement> ToXml() const; |
186 | 186 |
187 std::list<IceCredentials> ice_credentials; | 187 std::list<IceCredentials> ice_credentials; |
188 std::list<NamedCandidate> candidates; | 188 std::list<NamedCandidate> candidates; |
189 }; | 189 }; |
190 | 190 |
191 } // protocol | 191 } // protocol |
192 } // remoting | 192 } // remoting |
193 | 193 |
194 #endif // REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ | 194 #endif // REMOTING_PROTOCOL_JINGLE_MESSAGES_H_ |
OLD | NEW |