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

Side by Side Diff: net/http/http_network_session.h

Issue 2067843003: Require a CTVerifier and CTPolicyEnforcer for TLS/QUIC sockets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixup Created 4 years, 6 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
« no previous file with comments | « net/http/http_network_layer_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_HTTP_HTTP_NETWORK_SESSION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 : NON_EXPORTED_BASE(public base::NonThreadSafe) { 62 : NON_EXPORTED_BASE(public base::NonThreadSafe) {
63 public: 63 public:
64 struct NET_EXPORT Params { 64 struct NET_EXPORT Params {
65 Params(); 65 Params();
66 Params(const Params& other); 66 Params(const Params& other);
67 ~Params(); 67 ~Params();
68 68
69 ClientSocketFactory* client_socket_factory; 69 ClientSocketFactory* client_socket_factory;
70 HostResolver* host_resolver; 70 HostResolver* host_resolver;
71 CertVerifier* cert_verifier; 71 CertVerifier* cert_verifier;
72 CTPolicyEnforcer* ct_policy_enforcer;
73 ChannelIDService* channel_id_service; 72 ChannelIDService* channel_id_service;
74 TransportSecurityState* transport_security_state; 73 TransportSecurityState* transport_security_state;
75 CTVerifier* cert_transparency_verifier; 74 CTVerifier* cert_transparency_verifier;
75 CTPolicyEnforcer* ct_policy_enforcer;
76 ProxyService* proxy_service; 76 ProxyService* proxy_service;
77 SSLConfigService* ssl_config_service; 77 SSLConfigService* ssl_config_service;
78 HttpAuthHandlerFactory* http_auth_handler_factory; 78 HttpAuthHandlerFactory* http_auth_handler_factory;
79 HttpServerProperties* http_server_properties; 79 HttpServerProperties* http_server_properties;
80 NetLog* net_log; 80 NetLog* net_log;
81 HostMappingRules* host_mapping_rules; 81 HostMappingRules* host_mapping_rules;
82 SocketPerformanceWatcherFactory* socket_performance_watcher_factory; 82 SocketPerformanceWatcherFactory* socket_performance_watcher_factory;
83 bool ignore_certificate_errors; 83 bool ignore_certificate_errors;
84 uint16_t testing_fixed_http_port; 84 uint16_t testing_fixed_http_port;
85 uint16_t testing_fixed_https_port; 85 uint16_t testing_fixed_https_port;
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 296
297 NextProtoVector next_protos_; 297 NextProtoVector next_protos_;
298 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 298 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
299 299
300 Params params_; 300 Params params_;
301 }; 301 };
302 302
303 } // namespace net 303 } // namespace net
304 304
305 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 305 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW
« no previous file with comments | « net/http/http_network_layer_unittest.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698