OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "blimp/net/ssl_client_transport.h" | 5 #include "blimp/net/ssl_client_transport.h" |
6 | 6 |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/callback_helpers.h" | 10 #include "base/callback_helpers.h" |
11 #include "blimp/net/exact_match_cert_verifier.h" | 11 #include "blimp/net/exact_match_cert_verifier.h" |
12 #include "blimp/net/stream_socket_connection.h" | |
13 #include "net/base/host_port_pair.h" | 12 #include "net/base/host_port_pair.h" |
14 #include "net/cert/x509_certificate.h" | 13 #include "net/cert/x509_certificate.h" |
15 #include "net/socket/client_socket_factory.h" | 14 #include "net/socket/client_socket_factory.h" |
16 #include "net/socket/client_socket_handle.h" | 15 #include "net/socket/client_socket_handle.h" |
17 #include "net/socket/ssl_client_socket.h" | 16 #include "net/socket/ssl_client_socket.h" |
18 #include "net/socket/stream_socket.h" | 17 #include "net/socket/stream_socket.h" |
19 #include "net/socket/tcp_client_socket.h" | 18 #include "net/socket/tcp_client_socket.h" |
20 #include "net/ssl/ssl_config.h" | 19 #include "net/ssl/ssl_config.h" |
21 | 20 |
22 namespace blimp { | 21 namespace blimp { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 } | 86 } |
88 | 87 |
89 void SSLClientTransport::OnSSLConnectComplete(int result) { | 88 void SSLClientTransport::OnSSLConnectComplete(int result) { |
90 DCHECK_NE(net::ERR_IO_PENDING, result); | 89 DCHECK_NE(net::ERR_IO_PENDING, result); |
91 DVLOG(1) << "SSL connection result=" << result; | 90 DVLOG(1) << "SSL connection result=" << result; |
92 | 91 |
93 OnConnectComplete(result); | 92 OnConnectComplete(result); |
94 } | 93 } |
95 | 94 |
96 } // namespace blimp | 95 } // namespace blimp |
OLD | NEW |