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 <utility> |
| 8 |
7 #include "base/bind.h" | 9 #include "base/bind.h" |
8 #include "base/message_loop/message_loop.h" | 10 #include "base/message_loop/message_loop.h" |
9 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
10 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
11 #include "net/socket/socket.h" | 13 #include "net/socket/socket.h" |
12 #include "net/socket/stream_socket.h" | 14 #include "net/socket/stream_socket.h" |
13 #include "remoting/base/constants.h" | 15 #include "remoting/base/constants.h" |
14 #include "remoting/protocol/connection_tester.h" | 16 #include "remoting/protocol/connection_tester.h" |
15 #include "remoting/protocol/fake_stream_socket.h" | 17 #include "remoting/protocol/fake_stream_socket.h" |
16 #include "testing/gmock/include/gmock/gmock.h" | 18 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 .WillOnce(InvokeWithoutArgs( | 345 .WillOnce(InvokeWithoutArgs( |
344 this, &ChannelMultiplexerTest::DeleteAfterSessionFail)); | 346 this, &ChannelMultiplexerTest::DeleteAfterSessionFail)); |
345 EXPECT_CALL(cb2, OnConnectedPtr(_)) | 347 EXPECT_CALL(cb2, OnConnectedPtr(_)) |
346 .Times(0); | 348 .Times(0); |
347 | 349 |
348 base::RunLoop().RunUntilIdle(); | 350 base::RunLoop().RunUntilIdle(); |
349 } | 351 } |
350 | 352 |
351 } // namespace protocol | 353 } // namespace protocol |
352 } // namespace remoting | 354 } // namespace remoting |
OLD | NEW |