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

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

Issue 2802123002: Remove |force_quic_port_| dead field in HttpStreamFactoryImpl::Job (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 | « no previous file | no next file » | 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_STREAM_FACTORY_IMPL_JOB_H_ 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 // True if this network transaction is using SPDY instead of HTTP. 442 // True if this network transaction is using SPDY instead of HTTP.
443 bool using_spdy_; 443 bool using_spdy_;
444 444
445 // True if this network transaction is using QUIC instead of HTTP. 445 // True if this network transaction is using QUIC instead of HTTP.
446 bool using_quic_; 446 bool using_quic_;
447 QuicStreamRequest quic_request_; 447 QuicStreamRequest quic_request_;
448 448
449 // True if this job used an existing QUIC session. 449 // True if this job used an existing QUIC session.
450 bool using_existing_quic_session_; 450 bool using_existing_quic_session_;
451 451
452 // Force quic for a specific port.
453 int force_quic_port_;
454
455 scoped_refptr<HttpAuthController> 452 scoped_refptr<HttpAuthController>
456 auth_controllers_[HttpAuth::AUTH_NUM_TARGETS]; 453 auth_controllers_[HttpAuth::AUTH_NUM_TARGETS];
457 454
458 // True when the tunnel is in the process of being established - we can't 455 // True when the tunnel is in the process of being established - we can't
459 // read from the socket until the tunnel is done. 456 // read from the socket until the tunnel is done.
460 bool establishing_tunnel_; 457 bool establishing_tunnel_;
461 458
462 std::unique_ptr<HttpStream> stream_; 459 std::unique_ptr<HttpStream> stream_;
463 std::unique_ptr<WebSocketHandshakeStreamBase> websocket_stream_; 460 std::unique_ptr<WebSocketHandshakeStreamBase> websocket_stream_;
464 std::unique_ptr<BidirectionalStreamImpl> bidirectional_stream_impl_; 461 std::unique_ptr<BidirectionalStreamImpl> bidirectional_stream_impl_;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
538 const SSLConfig& proxy_ssl_config, 535 const SSLConfig& proxy_ssl_config,
539 HostPortPair destination, 536 HostPortPair destination,
540 GURL origin_url, 537 GURL origin_url,
541 bool enable_ip_based_pooling, 538 bool enable_ip_based_pooling,
542 NetLog* net_log) = 0; 539 NetLog* net_log) = 0;
543 }; 540 };
544 541
545 } // namespace net 542 } // namespace net
546 543
547 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ 544 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698