Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: remoting/protocol/jingle_messages.cc

Issue 2443903004: Add xmllite and xmpp sources to third_party/ (Closed)
Patch Set: Fix GN and sort includes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698