| 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/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
| 9 #include "crypto/secure_util.h" | 9 #include "crypto/secure_util.h" |
| 10 #include "net/base/cert_verifier.h" | |
| 11 #include "net/base/host_port_pair.h" | 10 #include "net/base/host_port_pair.h" |
| 12 #include "net/base/io_buffer.h" | 11 #include "net/base/io_buffer.h" |
| 13 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
| 14 #include "net/base/x509_certificate.h" | 13 #include "net/cert/cert_verifier.h" |
| 14 #include "net/cert/x509_certificate.h" |
| 15 #include "net/socket/client_socket_factory.h" | 15 #include "net/socket/client_socket_factory.h" |
| 16 #include "net/socket/ssl_client_socket.h" | 16 #include "net/socket/ssl_client_socket.h" |
| 17 #include "net/socket/ssl_server_socket.h" | 17 #include "net/socket/ssl_server_socket.h" |
| 18 #include "net/ssl/ssl_config_service.h" | 18 #include "net/ssl/ssl_config_service.h" |
| 19 #include "remoting/base/rsa_key_pair.h" | 19 #include "remoting/base/rsa_key_pair.h" |
| 20 #include "remoting/protocol/auth_util.h" | 20 #include "remoting/protocol/auth_util.h" |
| 21 | 21 |
| 22 namespace remoting { | 22 namespace remoting { |
| 23 namespace protocol { | 23 namespace protocol { |
| 24 | 24 |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 } | 257 } |
| 258 } | 258 } |
| 259 | 259 |
| 260 void SslHmacChannelAuthenticator::NotifyError(int error) { | 260 void SslHmacChannelAuthenticator::NotifyError(int error) { |
| 261 done_callback_.Run(static_cast<net::Error>(error), | 261 done_callback_.Run(static_cast<net::Error>(error), |
| 262 scoped_ptr<net::StreamSocket>(NULL)); | 262 scoped_ptr<net::StreamSocket>(NULL)); |
| 263 } | 263 } |
| 264 | 264 |
| 265 } // namespace protocol | 265 } // namespace protocol |
| 266 } // namespace remoting | 266 } // namespace remoting |
| OLD | NEW |