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

Side by Side Diff: remoting/host/host_change_notification_listener.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/host/host_change_notification_listener.h" 5 #include "remoting/host/host_change_notification_listener.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "base/threading/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 #include "remoting/base/constants.h" 12 #include "remoting/base/constants.h"
13 #include "remoting/protocol/jingle_messages.h" 13 #include "remoting/protocol/jingle_messages.h"
14 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" 14 #include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
15 #include "third_party/webrtc/libjingle/xmpp/constants.h" 15 #include "third_party/libjingle_xmpp/xmpp/constants.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 21
22 HostChangeNotificationListener::HostChangeNotificationListener( 22 HostChangeNotificationListener::HostChangeNotificationListener(
23 Listener* listener, 23 Listener* listener,
24 const std::string& host_id, 24 const std::string& host_id,
25 SignalStrategy* signal_strategy, 25 SignalStrategy* signal_strategy,
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 LOG(ERROR) << "Invalid host-changed message received: " << stanza->Str(); 72 LOG(ERROR) << "Invalid host-changed message received: " << stanza->Str();
73 } 73 }
74 return true; 74 return true;
75 } 75 }
76 76
77 void HostChangeNotificationListener::OnHostDeleted() { 77 void HostChangeNotificationListener::OnHostDeleted() {
78 listener_->OnHostDeleted(); 78 listener_->OnHostDeleted();
79 } 79 }
80 80
81 } // namespace remoting 81 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/heartbeat_sender_unittest.cc ('k') | remoting/host/host_change_notification_listener_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698