Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: net/socket/ssl_server_socket_impl.h

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SERVER_SOCKET_IMPL_H_ 5 #ifndef NET_SOCKET_SSL_SERVER_SOCKET_IMPL_H_
6 #define NET_SOCKET_SSL_SERVER_SOCKET_IMPL_H_ 6 #define NET_SOCKET_SSL_SERVER_SOCKET_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/macros.h" 12 #include "base/macros.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/log/net_log.h"
16 #include "net/socket/ssl_server_socket.h" 15 #include "net/socket/ssl_server_socket.h"
17 #include "net/ssl/scoped_openssl_types.h" 16 #include "net/ssl/scoped_openssl_types.h"
18 #include "net/ssl/ssl_server_config.h" 17 #include "net/ssl/ssl_server_config.h"
19 18
20 // Avoid including misc OpenSSL headers, i.e.: 19 // Avoid including misc OpenSSL headers, i.e.:
21 // <openssl/bio.h> 20 // <openssl/bio.h>
22 typedef struct bio_st BIO; 21 typedef struct bio_st BIO;
23 // <openssl/ssl.h> 22 // <openssl/ssl.h>
24 typedef struct ssl_st SSL; 23 typedef struct ssl_st SSL;
25 typedef struct x509_store_ctx_st X509_STORE_CTX; 24 typedef struct x509_store_ctx_st X509_STORE_CTX;
(...skipping 21 matching lines...) Expand all
47 // Certificate for the server. 46 // Certificate for the server.
48 scoped_refptr<X509Certificate> cert_; 47 scoped_refptr<X509Certificate> cert_;
49 48
50 // Private key used by the server. 49 // Private key used by the server.
51 std::unique_ptr<crypto::RSAPrivateKey> key_; 50 std::unique_ptr<crypto::RSAPrivateKey> key_;
52 }; 51 };
53 52
54 } // namespace net 53 } // namespace net
55 54
56 #endif // NET_SOCKET_SSL_SERVER_SOCKET_IMPL_H_ 55 #endif // NET_SOCKET_SSL_SERVER_SOCKET_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698