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 #include "remoting/protocol/jingle_messages.h" | 5 #include "remoting/protocol/jingle_messages.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "remoting/base/constants.h" | 9 #include "remoting/base/constants.h" |
10 #include "remoting/protocol/content_description.h" | 10 #include "remoting/protocol/content_description.h" |
11 #include "remoting/protocol/name_value_map.h" | 11 #include "remoting/protocol/name_value_map.h" |
12 #include "remoting/signaling/jid_util.h" | 12 #include "remoting/signaling/jid_util.h" |
13 #include "remoting/signaling/remoting_bot.h" | 13 #include "remoting/signaling/remoting_bot.h" |
14 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 14 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h" |
15 | 15 |
16 using buzz::QName; | 16 using buzz::QName; |
17 using buzz::XmlElement; | 17 using buzz::XmlElement; |
18 | 18 |
19 namespace remoting { | 19 namespace remoting { |
20 namespace protocol { | 20 namespace protocol { |
21 | 21 |
22 namespace { | 22 namespace { |
23 | 23 |
24 const char kJabberNamespace[] = "jabber:client"; | 24 const char kJabberNamespace[] = "jabber:client"; |
(...skipping 650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 result->AddElement(FormatIceCredentials(credentials)); | 675 result->AddElement(FormatIceCredentials(credentials)); |
676 } | 676 } |
677 for (const NamedCandidate& candidate : candidates) { | 677 for (const NamedCandidate& candidate : candidates) { |
678 result->AddElement(FormatIceCandidate(candidate)); | 678 result->AddElement(FormatIceCandidate(candidate)); |
679 } | 679 } |
680 return result; | 680 return result; |
681 } | 681 } |
682 | 682 |
683 } // namespace protocol | 683 } // namespace protocol |
684 } // namespace remoting | 684 } // namespace remoting |
OLD | NEW |