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

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

Issue 517693002: Add embedder-specific headers to HTTP CONNECT tunnel request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from mef and mmenke Created 6 years, 3 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_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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 25 matching lines...) Expand all
36 class CTVerifier; 36 class CTVerifier;
37 class HostResolver; 37 class HostResolver;
38 class HpackHuffmanAggregator; 38 class HpackHuffmanAggregator;
39 class HttpAuthHandlerFactory; 39 class HttpAuthHandlerFactory;
40 class HttpNetworkSessionPeer; 40 class HttpNetworkSessionPeer;
41 class HttpProxyClientSocketPool; 41 class HttpProxyClientSocketPool;
42 class HttpResponseBodyDrainer; 42 class HttpResponseBodyDrainer;
43 class HttpServerProperties; 43 class HttpServerProperties;
44 class NetLog; 44 class NetLog;
45 class NetworkDelegate; 45 class NetworkDelegate;
46 class ProxyDelegate;
46 class ProxyService; 47 class ProxyService;
47 class QuicClock; 48 class QuicClock;
48 class QuicCryptoClientStreamFactory; 49 class QuicCryptoClientStreamFactory;
49 class QuicServerInfoFactory; 50 class QuicServerInfoFactory;
50 class SOCKSClientSocketPool; 51 class SOCKSClientSocketPool;
51 class SSLClientSocketPool; 52 class SSLClientSocketPool;
52 class SSLConfigService; 53 class SSLConfigService;
53 class TransportClientSocketPool; 54 class TransportClientSocketPool;
54 class TransportSecurityState; 55 class TransportSecurityState;
55 56
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 bool enable_quic_time_based_loss_detection; 114 bool enable_quic_time_based_loss_detection;
114 HostPortPair origin_to_force_quic_on; 115 HostPortPair origin_to_force_quic_on;
115 QuicClock* quic_clock; // Will be owned by QuicStreamFactory. 116 QuicClock* quic_clock; // Will be owned by QuicStreamFactory.
116 QuicRandom* quic_random; 117 QuicRandom* quic_random;
117 size_t quic_max_packet_length; 118 size_t quic_max_packet_length;
118 std::string quic_user_agent_id; 119 std::string quic_user_agent_id;
119 bool enable_user_alternate_protocol_ports; 120 bool enable_user_alternate_protocol_ports;
120 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory; 121 QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory;
121 QuicVersionVector quic_supported_versions; 122 QuicVersionVector quic_supported_versions;
122 QuicTagVector quic_connection_options; 123 QuicTagVector quic_connection_options;
124 ProxyDelegate* proxy_delegate;
123 }; 125 };
124 126
125 enum SocketPoolType { 127 enum SocketPoolType {
126 NORMAL_SOCKET_POOL, 128 NORMAL_SOCKET_POOL,
127 WEBSOCKET_SOCKET_POOL, 129 WEBSOCKET_SOCKET_POOL,
128 NUM_SOCKET_POOL_TYPES 130 NUM_SOCKET_POOL_TYPES
129 }; 131 };
130 132
131 explicit HttpNetworkSession(const Params& params); 133 explicit HttpNetworkSession(const Params& params);
132 134
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 239
238 std::vector<std::string> next_protos_; 240 std::vector<std::string> next_protos_;
239 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS]; 241 bool enabled_protocols_[NUM_VALID_ALTERNATE_PROTOCOLS];
240 242
241 Params params_; 243 Params params_;
242 }; 244 };
243 245
244 } // namespace net 246 } // namespace net
245 247
246 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_ 248 #endif // NET_HTTP_HTTP_NETWORK_SESSION_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698