| 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/ssl_hmac_channel_authenticator.h" | 5 #include "remoting/protocol/ssl_hmac_channel_authenticator.h" |
| 6 | 6 |
| 7 #include "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "base/bind.h" | 8 #include "base/bind.h" |
| 9 #include "base/file_util.h" | |
| 10 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/files/file_util.h" |
| 11 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
| 12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
| 13 #include "base/test/test_timeouts.h" | 13 #include "base/test/test_timeouts.h" |
| 14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
| 15 #include "crypto/rsa_private_key.h" | 15 #include "crypto/rsa_private_key.h" |
| 16 #include "net/base/net_errors.h" | 16 #include "net/base/net_errors.h" |
| 17 #include "net/base/test_data_directory.h" | 17 #include "net/base/test_data_directory.h" |
| 18 #include "remoting/base/rsa_key_pair.h" | 18 #include "remoting/base/rsa_key_pair.h" |
| 19 #include "remoting/protocol/connection_tester.h" | 19 #include "remoting/protocol/connection_tester.h" |
| 20 #include "remoting/protocol/fake_session.h" | 20 #include "remoting/protocol/fake_session.h" |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 host_auth_ = SslHmacChannelAuthenticator::CreateForHost( | 164 host_auth_ = SslHmacChannelAuthenticator::CreateForHost( |
| 165 host_cert_, key_pair_, kTestSharedSecret); | 165 host_cert_, key_pair_, kTestSharedSecret); |
| 166 | 166 |
| 167 RunChannelAuth(true); | 167 RunChannelAuth(true); |
| 168 | 168 |
| 169 ASSERT_TRUE(host_socket_.get() == NULL); | 169 ASSERT_TRUE(host_socket_.get() == NULL); |
| 170 } | 170 } |
| 171 | 171 |
| 172 } // namespace protocol | 172 } // namespace protocol |
| 173 } // namespace remoting | 173 } // namespace remoting |
| OLD | NEW |