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

Unified Diff: net/quic/quic_stream_factory.h

Issue 1502453003: QUIC - Disable Preconnect when QUIC can be spoken to a server with 0RTT (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/quic/quic_stream_factory.h
diff --git a/net/quic/quic_stream_factory.h b/net/quic/quic_stream_factory.h
index 0e696049acdb4cecbfd1250b4d05eca4f132d5f6..7aa63c756a7b88499d2e92f95c466e7a3d020b1a 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -228,6 +228,9 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
void set_require_confirmation(bool require_confirmation);
+ bool IsQuicDoingZeroRTT(const HostPortPair& host_port_pair,
Ryan Hamilton 2015/12/05 04:16:17 nit: I suggest a name like SupportsZeroRTT or Zero
ramant (doing other things) 2015/12/07 20:05:39 Done.
+ PrivacyMode privacy_mode);
+
// It returns the amount of time waiting job should be delayed.
base::TimeDelta GetTimeDelayForWaitingJob(const QuicServerId& server_id);

Powered by Google App Engine
This is Rietveld 408576698