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

Side by Side Diff: net/socket/ssl_client_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 (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_IMPL_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_IMPL_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_IMPL_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_IMPL_H_
7 7
8 #include <openssl/base.h> 8 #include <openssl/base.h>
9 #include <openssl/ssl.h> 9 #include <openssl/ssl.h>
10 #include <stddef.h> 10 #include <stddef.h>
11 #include <stdint.h> 11 #include <stdint.h>
12 12
13 #include <memory> 13 #include <memory>
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/compiler_specific.h" 17 #include "base/compiler_specific.h"
18 #include "base/containers/mru_cache.h" 18 #include "base/containers/mru_cache.h"
19 #include "base/memory/ref_counted.h" 19 #include "base/memory/ref_counted.h"
20 #include "base/memory/weak_ptr.h" 20 #include "base/memory/weak_ptr.h"
21 #include "build/build_config.h" 21 #include "build/build_config.h"
22 #include "net/base/completion_callback.h" 22 #include "net/base/completion_callback.h"
23 #include "net/base/io_buffer.h" 23 #include "net/base/io_buffer.h"
24 #include "net/cert/cert_verifier.h" 24 #include "net/cert/cert_verifier.h"
25 #include "net/cert/cert_verify_result.h" 25 #include "net/cert/cert_verify_result.h"
26 #include "net/cert/ct_verify_result.h" 26 #include "net/cert/ct_verify_result.h"
27 #include "net/log/net_log_with_source.h"
27 #include "net/socket/client_socket_handle.h" 28 #include "net/socket/client_socket_handle.h"
28 #include "net/socket/ssl_client_socket.h" 29 #include "net/socket/ssl_client_socket.h"
29 #include "net/ssl/channel_id_service.h" 30 #include "net/ssl/channel_id_service.h"
30 #include "net/ssl/openssl_ssl_util.h" 31 #include "net/ssl/openssl_ssl_util.h"
31 #include "net/ssl/scoped_openssl_types.h" 32 #include "net/ssl/scoped_openssl_types.h"
32 #include "net/ssl/ssl_client_cert_type.h" 33 #include "net/ssl/ssl_client_cert_type.h"
33 #include "net/ssl/ssl_config_service.h" 34 #include "net/ssl/ssl_config_service.h"
34 35
35 namespace base { 36 namespace base {
36 class FilePath; 37 class FilePath;
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 // True if PKP is bypassed due to a local trust anchor. 391 // True if PKP is bypassed due to a local trust anchor.
391 bool pkp_bypassed_; 392 bool pkp_bypassed_;
392 393
393 NetLogWithSource net_log_; 394 NetLogWithSource net_log_;
394 base::WeakPtrFactory<SSLClientSocketImpl> weak_factory_; 395 base::WeakPtrFactory<SSLClientSocketImpl> weak_factory_;
395 }; 396 };
396 397
397 } // namespace net 398 } // namespace net
398 399
399 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_IMPL_H_ 400 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698