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

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

Issue 2099673003: Delete TLS version fallback code in net/http. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fallback-die-die-die-2
Patch Set: Oops, got my branches confused. Created 4 years, 5 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 | « no previous file | net/http/http_network_transaction.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_TRANSACTION_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 6 #define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 ProxyInfo proxy_info_; 323 ProxyInfo proxy_info_;
324 324
325 std::unique_ptr<HttpStreamRequest> stream_request_; 325 std::unique_ptr<HttpStreamRequest> stream_request_;
326 std::unique_ptr<HttpStream> stream_; 326 std::unique_ptr<HttpStream> stream_;
327 327
328 // True if we've validated the headers that the stream parser has returned. 328 // True if we've validated the headers that the stream parser has returned.
329 bool headers_valid_; 329 bool headers_valid_;
330 330
331 SSLConfig server_ssl_config_; 331 SSLConfig server_ssl_config_;
332 SSLConfig proxy_ssl_config_; 332 SSLConfig proxy_ssl_config_;
333 // fallback_error_code contains the error code that caused the last TLS
334 // fallback. If the fallback connection results in
335 // ERR_SSL_INAPPROPRIATE_FALLBACK (i.e. the server indicated that the
336 // fallback should not have been needed) then we use this value to return the
337 // original error that triggered the fallback.
338 int fallback_error_code_;
339 333
340 // Keys to use for signing message in Token Binding header. 334 // Keys to use for signing message in Token Binding header.
341 std::unique_ptr<crypto::ECPrivateKey> provided_token_binding_key_; 335 std::unique_ptr<crypto::ECPrivateKey> provided_token_binding_key_;
342 std::unique_ptr<crypto::ECPrivateKey> referred_token_binding_key_; 336 std::unique_ptr<crypto::ECPrivateKey> referred_token_binding_key_;
343 // Object to manage lookup of |provided_token_binding_key_| and 337 // Object to manage lookup of |provided_token_binding_key_| and
344 // |referred_token_binding_key_|. 338 // |referred_token_binding_key_|.
345 ChannelIDService::Request token_binding_request_; 339 ChannelIDService::Request token_binding_request_;
346 340
347 HttpRequestHeaders request_headers_; 341 HttpRequestHeaders request_headers_;
348 342
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 ConnectionAttempts connection_attempts_; 380 ConnectionAttempts connection_attempts_;
387 IPEndPoint remote_endpoint_; 381 IPEndPoint remote_endpoint_;
388 // Network error details for this transaction. 382 // Network error details for this transaction.
389 NetErrorDetails net_error_details_; 383 NetErrorDetails net_error_details_;
390 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); 384 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
391 }; 385 };
392 386
393 } // namespace net 387 } // namespace net
394 388
395 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 389 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
OLDNEW
« no previous file with comments | « no previous file | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698