| 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/protocol/session_plugin.h" | 12 #include "remoting/protocol/session_plugin.h" |
| 13 #include "remoting/signaling/jid_util.h" | 13 #include "remoting/signaling/jid_util.h" |
| 14 #include "remoting/signaling/remoting_bot.h" | 14 #include "remoting/signaling/remoting_bot.h" |
| 15 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 15 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h" |
| 16 | 16 |
| 17 using buzz::QName; | 17 using buzz::QName; |
| 18 using buzz::XmlElement; | 18 using buzz::XmlElement; |
| 19 | 19 |
| 20 namespace remoting { | 20 namespace remoting { |
| 21 namespace protocol { | 21 namespace protocol { |
| 22 | 22 |
| 23 namespace { | 23 namespace { |
| 24 | 24 |
| 25 const char kJabberNamespace[] = "jabber:client"; | 25 const char kJabberNamespace[] = "jabber:client"; |
| (...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 685 result->AddElement(FormatIceCredentials(credentials)); | 685 result->AddElement(FormatIceCredentials(credentials)); |
| 686 } | 686 } |
| 687 for (const NamedCandidate& candidate : candidates) { | 687 for (const NamedCandidate& candidate : candidates) { |
| 688 result->AddElement(FormatIceCandidate(candidate)); | 688 result->AddElement(FormatIceCandidate(candidate)); |
| 689 } | 689 } |
| 690 return result; | 690 return result; |
| 691 } | 691 } |
| 692 | 692 |
| 693 } // namespace protocol | 693 } // namespace protocol |
| 694 } // namespace remoting | 694 } // namespace remoting |
| OLD | NEW |