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

Side by Side Diff: remoting/signaling/server_log_entry.cc

Issue 2443903004: Add xmllite and xmpp sources to third_party/ (Closed)
Patch Set: Explicitly use webrtc_overrides/webrtc/base/logging.h Created 3 years, 11 months 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/signaling/server_log_entry.h" 5 #include "remoting/signaling/server_log_entry.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "base/sys_info.h" 9 #include "base/sys_info.h"
10 #include "remoting/base/constants.h" 10 #include "remoting/base/constants.h"
11 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 11 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
12 12
13 using base::SysInfo; 13 using base::SysInfo;
14 using buzz::QName; 14 using buzz::QName;
15 using buzz::XmlElement; 15 using buzz::XmlElement;
16 16
17 namespace remoting { 17 namespace remoting {
18 18
19 namespace { 19 namespace {
20 20
21 const char kLogCommand[] = "log"; 21 const char kLogCommand[] = "log";
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 std::unique_ptr<XmlElement> stanza( 82 std::unique_ptr<XmlElement> stanza(
83 new XmlElement(QName(kChromotingXmlNamespace, kLogEntry))); 83 new XmlElement(QName(kChromotingXmlNamespace, kLogEntry)));
84 ValuesMap::const_iterator iter; 84 ValuesMap::const_iterator iter;
85 for (iter = values_map_.begin(); iter != values_map_.end(); ++iter) { 85 for (iter = values_map_.begin(); iter != values_map_.end(); ++iter) {
86 stanza->AddAttr(QName(std::string(), iter->first), iter->second); 86 stanza->AddAttr(QName(std::string(), iter->first), iter->second);
87 } 87 }
88 return stanza; 88 return stanza;
89 } 89 }
90 90
91 } // namespace remoting 91 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/signaling/push_notification_subscriber.cc ('k') | remoting/signaling/server_log_entry_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698