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 namespace remoting { | 7 namespace remoting { |
8 namespace protocol { | 8 namespace protocol { |
9 | 9 |
10 const char kTestJid[] = "host1@gmail.com/chromoting123"; | 10 const char kTestJid[] = "host1@gmail.com/chromoting123"; |
(...skipping 24 matching lines...) Expand all Loading... |
35 } | 35 } |
36 | 36 |
37 StreamChannelFactory* FakeSession::GetTransportChannelFactory() { | 37 StreamChannelFactory* FakeSession::GetTransportChannelFactory() { |
38 return &channel_factory_; | 38 return &channel_factory_; |
39 } | 39 } |
40 | 40 |
41 StreamChannelFactory* FakeSession::GetMultiplexedChannelFactory() { | 41 StreamChannelFactory* FakeSession::GetMultiplexedChannelFactory() { |
42 return &channel_factory_; | 42 return &channel_factory_; |
43 } | 43 } |
44 | 44 |
| 45 StreamChannelFactory* FakeSession::GetQuicChannelFactory() { |
| 46 return &channel_factory_; |
| 47 } |
| 48 |
45 void FakeSession::Close() { | 49 void FakeSession::Close() { |
46 closed_ = true; | 50 closed_ = true; |
47 } | 51 } |
48 | 52 |
49 } // namespace protocol | 53 } // namespace protocol |
50 } // namespace remoting | 54 } // namespace remoting |
OLD | NEW |