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

Unified Diff: net/http/http_stream_factory_impl_job.h

Issue 11416058: Integrating the QuicStreamFactory into the network stack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Done Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: net/http/http_stream_factory_impl_job.h
diff --git a/net/http/http_stream_factory_impl_job.h b/net/http/http_stream_factory_impl_job.h
index 97f46376cbd2936ed5f4e9f1985e918f905baaa5..2af9642894ac60b26c9af9830a607e38f0811630 100644
--- a/net/http/http_stream_factory_impl_job.h
+++ b/net/http/http_stream_factory_impl_job.h
@@ -27,6 +27,7 @@ class HttpAuthController;
class HttpNetworkSession;
class HttpStream;
class SpdySessionPool;
+class QuicHttpStream;
// An HttpStreamRequestImpl exists for each stream which is in progress of being
// created for the StreamFactory.
@@ -203,6 +204,9 @@ class HttpStreamFactoryImpl::Job {
// Should we force SPDY to run without SSL for this stream request.
bool ShouldForceSpdyWithoutSSL() const;
+ // Should we force QUIC for this stream request.
+ bool ShouldForceQuic() const;
+
bool IsRequestEligibleForPipelining();
// Record histograms of latency until Connect() completes.
@@ -259,12 +263,19 @@ class HttpStreamFactoryImpl::Job {
// True if this network transaction is using SPDY instead of HTTP.
bool using_spdy_;
+ // True if this network transaction is using QUIC instead of HTTP.
+ bool using_quic_;
+ QuicHttpStream* quic_stream_;
+
// Force spdy for all connections.
bool force_spdy_always_;
// Force spdy only for SSL connections.
bool force_spdy_over_ssl_;
+ // Force quic for a specific port.
+ int force_quic_port_;
+
// The certificate error while using SPDY over SSL for insecure URLs.
int spdy_certificate_error_;

Powered by Google App Engine
This is Rietveld 408576698