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

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

Issue 2811993005: Revert of When HttpNetworkTransaction encounters QUIC errors, retry the request (Closed)
Patch Set: Created 3 years, 8 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_session.cc ('k') | 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 // read from the socket until the tunnel is done. 373 // read from the socket until the tunnel is done.
374 bool establishing_tunnel_; 374 bool establishing_tunnel_;
375 375
376 // Enable pooling to a SpdySession with matching IP and certificate 376 // Enable pooling to a SpdySession with matching IP and certificate
377 // even if the SpdySessionKey is different. 377 // even if the SpdySessionKey is different.
378 bool enable_ip_based_pooling_; 378 bool enable_ip_based_pooling_;
379 379
380 // Enable using alternative services for the request. 380 // Enable using alternative services for the request.
381 bool enable_alternative_services_; 381 bool enable_alternative_services_;
382 382
383 // When a request is retried because of errors with the alternative service,
384 // this will store the alternative service used.
385 AlternativeService retried_alternative_service_;
386
387 // The helper object to use to create WebSocketHandshakeStreamBase 383 // The helper object to use to create WebSocketHandshakeStreamBase
388 // objects. Only relevant when establishing a WebSocket connection. 384 // objects. Only relevant when establishing a WebSocket connection.
389 WebSocketHandshakeStreamBase::CreateHelper* 385 WebSocketHandshakeStreamBase::CreateHelper*
390 websocket_handshake_stream_base_create_helper_; 386 websocket_handshake_stream_base_create_helper_;
391 387
392 BeforeNetworkStartCallback before_network_start_callback_; 388 BeforeNetworkStartCallback before_network_start_callback_;
393 BeforeHeadersSentCallback before_headers_sent_callback_; 389 BeforeHeadersSentCallback before_headers_sent_callback_;
394 390
395 ConnectionAttempts connection_attempts_; 391 ConnectionAttempts connection_attempts_;
396 IPEndPoint remote_endpoint_; 392 IPEndPoint remote_endpoint_;
397 // Network error details for this transaction. 393 // Network error details for this transaction.
398 NetErrorDetails net_error_details_; 394 NetErrorDetails net_error_details_;
399 395
400 // Communicate lifetime of transaction to the throttler, and 396 // Communicate lifetime of transaction to the throttler, and
401 // throttled state to the transaction. 397 // throttled state to the transaction.
402 std::unique_ptr<NetworkThrottleManager::Throttle> throttle_; 398 std::unique_ptr<NetworkThrottleManager::Throttle> throttle_;
403 399
404 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction); 400 DISALLOW_COPY_AND_ASSIGN(HttpNetworkTransaction);
405 }; 401 };
406 402
407 } // namespace net 403 } // namespace net
408 404
409 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ 405 #endif // NET_HTTP_HTTP_NETWORK_TRANSACTION_H_
OLDNEW
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698