| 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/fake_session.h" | 5 #include "remoting/protocol/fake_session.h" |
| 6 | 6 |
| 7 #include "base/location.h" | 7 #include "base/location.h" |
| 8 #include "base/thread_task_runner_handle.h" | 8 #include "base/threading/thread_task_runner_handle.h" |
| 9 #include "remoting/protocol/fake_authenticator.h" | 9 #include "remoting/protocol/fake_authenticator.h" |
| 10 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" | 10 #include "third_party/webrtc/libjingle/xmllite/xmlelement.h" |
| 11 | 11 |
| 12 namespace remoting { | 12 namespace remoting { |
| 13 namespace protocol { | 13 namespace protocol { |
| 14 | 14 |
| 15 const char kTestJid[] = "host1@gmail.com/chromoting123"; | 15 const char kTestJid[] = "host1@gmail.com/chromoting123"; |
| 16 const char kTestAuthKey[] = "test_auth_key"; | 16 const char kTestAuthKey[] = "test_auth_key"; |
| 17 | 17 |
| 18 FakeSession::FakeSession() | 18 FakeSession::FakeSession() |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 | 84 |
| 85 void FakeSession::SendTransportInfo( | 85 void FakeSession::SendTransportInfo( |
| 86 std::unique_ptr<buzz::XmlElement> transport_info) { | 86 std::unique_ptr<buzz::XmlElement> transport_info) { |
| 87 if (!peer_) | 87 if (!peer_) |
| 88 return; | 88 return; |
| 89 peer_->transport_->ProcessTransportInfo(transport_info.get()); | 89 peer_->transport_->ProcessTransportInfo(transport_info.get()); |
| 90 } | 90 } |
| 91 | 91 |
| 92 } // namespace protocol | 92 } // namespace protocol |
| 93 } // namespace remoting | 93 } // namespace remoting |
| OLD | NEW |