| 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/channel_multiplexer.h" | 5 #include "remoting/protocol/channel_multiplexer.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 9 #include "net/base/net_errors.h" | 9 #include "net/base/net_errors.h" |
| 10 #include "net/socket/socket.h" | 10 #include "net/socket/socket.h" |
| 11 #include "net/socket/stream_socket.h" | 11 #include "net/socket/stream_socket.h" |
| 12 #include "remoting/base/constants.h" | 12 #include "remoting/base/constants.h" |
| 13 #include "remoting/protocol/connection_tester.h" | 13 #include "remoting/protocol/connection_tester.h" |
| 14 #include "remoting/protocol/fake_session.h" | 14 #include "remoting/protocol/fake_session.h" |
| 15 #include "testing/gmock/include/gmock/gmock.h" | 15 #include "testing/gmock/include/gmock/gmock.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 | 17 |
| 18 using testing::_; | 18 using testing::_; |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 .WillOnce(InvokeWithoutArgs( | 364 .WillOnce(InvokeWithoutArgs( |
| 365 this, &ChannelMultiplexerTest::DeleteAfterSessionFail)); | 365 this, &ChannelMultiplexerTest::DeleteAfterSessionFail)); |
| 366 EXPECT_CALL(cb2, OnConnectedPtr(_)) | 366 EXPECT_CALL(cb2, OnConnectedPtr(_)) |
| 367 .Times(0); | 367 .Times(0); |
| 368 | 368 |
| 369 message_loop_.RunUntilIdle(); | 369 message_loop_.RunUntilIdle(); |
| 370 } | 370 } |
| 371 | 371 |
| 372 } // namespace protocol | 372 } // namespace protocol |
| 373 } // namespace remoting | 373 } // namespace remoting |
| OLD | NEW |