| 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 <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 "base/test/test_timeouts.h" | 12 #include "base/test/test_timeouts.h" |
| 11 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 12 #include "jingle/glue/thread_wrapper.h" | 14 #include "jingle/glue/thread_wrapper.h" |
| 13 #include "net/socket/socket.h" | 15 #include "net/socket/socket.h" |
| 14 #include "net/socket/stream_socket.h" | 16 #include "net/socket/stream_socket.h" |
| 15 #include "net/url_request/url_request_context_getter.h" | 17 #include "net/url_request/url_request_context_getter.h" |
| 16 #include "remoting/base/constants.h" | 18 #include "remoting/base/constants.h" |
| (...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 | 400 |
| 399 // Verify that we can connect with multistep authentication. | 401 // Verify that we can connect with multistep authentication. |
| 400 TEST_F(JingleSessionTest, TestMultistepAuth) { | 402 TEST_F(JingleSessionTest, TestMultistepAuth) { |
| 401 CreateSessionManagers(3, FakeAuthenticator::ACCEPT); | 403 CreateSessionManagers(3, FakeAuthenticator::ACCEPT); |
| 402 ASSERT_NO_FATAL_FAILURE( | 404 ASSERT_NO_FATAL_FAILURE( |
| 403 InitiateConnection(3, FakeAuthenticator::ACCEPT, false)); | 405 InitiateConnection(3, FakeAuthenticator::ACCEPT, false)); |
| 404 } | 406 } |
| 405 | 407 |
| 406 } // namespace protocol | 408 } // namespace protocol |
| 407 } // namespace remoting | 409 } // namespace remoting |
| OLD | NEW |