| OLD | NEW |
| 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/jingle_glue/log_to_server.h" | 5 #include "remoting/signaling/log_to_server.h" |
| 6 | 6 |
| 7 #include "remoting/base/constants.h" | 7 #include "remoting/base/constants.h" |
| 8 #include "remoting/jingle_glue/iq_sender.h" | 8 #include "remoting/signaling/iq_sender.h" |
| 9 #include "remoting/jingle_glue/signal_strategy.h" | 9 #include "remoting/signaling/signal_strategy.h" |
| 10 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" | 10 #include "third_party/libjingle/source/talk/xmllite/xmlelement.h" |
| 11 #include "third_party/libjingle/source/talk/xmpp/constants.h" | 11 #include "third_party/libjingle/source/talk/xmpp/constants.h" |
| 12 | 12 |
| 13 using buzz::QName; | 13 using buzz::QName; |
| 14 using buzz::XmlElement; | 14 using buzz::XmlElement; |
| 15 | 15 |
| 16 namespace remoting { | 16 namespace remoting { |
| 17 | 17 |
| 18 LogToServer::LogToServer(ServerLogEntry::Mode mode, | 18 LogToServer::LogToServer(ServerLogEntry::Mode mode, |
| 19 SignalStrategy* signal_strategy, | 19 SignalStrategy* signal_strategy, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 } | 65 } |
| 66 // Send the stanza to the server. | 66 // Send the stanza to the server. |
| 67 scoped_ptr<IqRequest> req = iq_sender_->SendIq( | 67 scoped_ptr<IqRequest> req = iq_sender_->SendIq( |
| 68 buzz::STR_SET, directory_bot_jid_, stanza.Pass(), | 68 buzz::STR_SET, directory_bot_jid_, stanza.Pass(), |
| 69 IqSender::ReplyCallback()); | 69 IqSender::ReplyCallback()); |
| 70 // We ignore any response, so let the IqRequest be destroyed. | 70 // We ignore any response, so let the IqRequest be destroyed. |
| 71 return; | 71 return; |
| 72 } | 72 } |
| 73 | 73 |
| 74 } // namespace remoting | 74 } // namespace remoting |
| OLD | NEW |