| 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 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "net/base/cert_verify_result.h" | 12 #include "net/base/cert_verify_result.h" |
| 13 #include "net/base/completion_callback.h" | 13 #include "net/base/completion_callback.h" |
| 14 #include "net/base/io_buffer.h" | 14 #include "net/base/io_buffer.h" |
| 15 #include "net/base/ssl_config_service.h" | 15 #include "net/socket/client_socket_handle.h" |
| 16 #include "net/socket/ssl_client_socket.h" | 16 #include "net/socket/ssl_client_socket.h" |
| 17 #include "net/socket/client_socket_handle.h" | 17 #include "net/ssl/ssl_config_service.h" |
| 18 | 18 |
| 19 // Avoid including misc OpenSSL headers, i.e.: | 19 // Avoid including misc OpenSSL headers, i.e.: |
| 20 // <openssl/bio.h> | 20 // <openssl/bio.h> |
| 21 typedef struct bio_st BIO; | 21 typedef struct bio_st BIO; |
| 22 // <openssl/evp.h> | 22 // <openssl/evp.h> |
| 23 typedef struct evp_pkey_st EVP_PKEY; | 23 typedef struct evp_pkey_st EVP_PKEY; |
| 24 // <openssl/ssl.h> | 24 // <openssl/ssl.h> |
| 25 typedef struct ssl_st SSL; | 25 typedef struct ssl_st SSL; |
| 26 // <openssl/x509.h> | 26 // <openssl/x509.h> |
| 27 typedef struct x509_st X509; | 27 typedef struct x509_st X509; |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 State next_handshake_state_; | 193 State next_handshake_state_; |
| 194 NextProtoStatus npn_status_; | 194 NextProtoStatus npn_status_; |
| 195 std::string npn_proto_; | 195 std::string npn_proto_; |
| 196 std::string server_protos_; | 196 std::string server_protos_; |
| 197 BoundNetLog net_log_; | 197 BoundNetLog net_log_; |
| 198 }; | 198 }; |
| 199 | 199 |
| 200 } // namespace net | 200 } // namespace net |
| 201 | 201 |
| 202 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 202 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| OLD | NEW |