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/jingle_session.h" | 5 #include "remoting/protocol/jingle_session.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 "base/test/test_timeouts.h" | 9 #include "base/test/test_timeouts.h" |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "net/socket/socket.h" | 11 #include "net/socket/socket.h" |
12 #include "net/socket/stream_socket.h" | 12 #include "net/socket/stream_socket.h" |
13 #include "remoting/base/constants.h" | 13 #include "remoting/base/constants.h" |
14 #include "remoting/jingle_glue/fake_signal_strategy.h" | 14 #include "remoting/jingle_glue/fake_signal_strategy.h" |
15 #include "remoting/protocol/authenticator.h" | 15 #include "remoting/protocol/authenticator.h" |
16 #include "remoting/protocol/channel_authenticator.h" | 16 #include "remoting/protocol/channel_authenticator.h" |
17 #include "remoting/protocol/connection_tester.h" | 17 #include "remoting/protocol/connection_tester.h" |
18 #include "remoting/protocol/fake_authenticator.h" | 18 #include "remoting/protocol/fake_authenticator.h" |
(...skipping 408 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 .Times(AtMost(1)); | 427 .Times(AtMost(1)); |
428 ExpectRouteChange(kChannelName); | 428 ExpectRouteChange(kChannelName); |
429 | 429 |
430 message_loop_->Run(); | 430 message_loop_->Run(); |
431 | 431 |
432 EXPECT_TRUE(!host_socket_.get()); | 432 EXPECT_TRUE(!host_socket_.get()); |
433 } | 433 } |
434 | 434 |
435 } // namespace protocol | 435 } // namespace protocol |
436 } // namespace remoting | 436 } // namespace remoting |
OLD | NEW |