| Index: remoting/protocol/fake_session.cc
|
| diff --git a/remoting/protocol/fake_session.cc b/remoting/protocol/fake_session.cc
|
| index 9e7d8fcc5da2e94d60b5c8f8042d48f7fe6da68f..e21f932a4118da74b114ceb86cd60cb3b65c8d50 100644
|
| --- a/remoting/protocol/fake_session.cc
|
| +++ b/remoting/protocol/fake_session.cc
|
| @@ -8,33 +8,6 @@
|
| namespace protocol {
|
|
|
| const char kTestJid[] = "host1@gmail.com/chromoting123";
|
| -
|
| -FakeTransportSession::FakeTransportSession() {}
|
| -FakeTransportSession::~FakeTransportSession() {}
|
| -
|
| -void FakeTransportSession::Start(EventHandler* event_handler,
|
| - Authenticator* authenticator) {
|
| - NOTREACHED();
|
| -}
|
| -
|
| -bool FakeTransportSession::ProcessTransportInfo(
|
| - buzz::XmlElement* transport_info) {
|
| - NOTREACHED();
|
| - return true;
|
| -}
|
| -
|
| -DatagramChannelFactory* FakeTransportSession::GetDatagramChannelFactory() {
|
| - NOTIMPLEMENTED();
|
| - return nullptr;
|
| -}
|
| -
|
| -FakeStreamChannelFactory* FakeTransportSession::GetStreamChannelFactory() {
|
| - return &channel_factory_;
|
| -}
|
| -
|
| -FakeStreamChannelFactory* FakeTransportSession::GetMultiplexedChannelFactory() {
|
| - return &channel_factory_;
|
| -}
|
|
|
| FakeSession::FakeSession()
|
| : event_handler_(nullptr),
|
| @@ -61,12 +34,16 @@
|
| return *config_;
|
| }
|
|
|
| -FakeTransportSession* FakeSession::GetTransportSession() {
|
| - return &transport_session_;
|
| +StreamChannelFactory* FakeSession::GetTransportChannelFactory() {
|
| + return &channel_factory_;
|
| }
|
|
|
| -FakeStreamChannelFactory* FakeSession::GetQuicChannelFactory() {
|
| - return transport_session_.GetStreamChannelFactory();
|
| +StreamChannelFactory* FakeSession::GetMultiplexedChannelFactory() {
|
| + return &channel_factory_;
|
| +}
|
| +
|
| +StreamChannelFactory* FakeSession::GetQuicChannelFactory() {
|
| + return &channel_factory_;
|
| }
|
|
|
| void FakeSession::Close() {
|
|
|