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

Unified Diff: net/quic/quic_stream_factory.h

Issue 23279011: Require handshake confirmation until a QUIC connection is created succesfully when using a new netw… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added test Created 7 years, 4 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 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 963a60369ac77459df9e5b474fc029885f01cacc..2fe87b51ea75522aeba754bf102c679edbe4f9b6 100644
--- a/net/quic/quic_stream_factory.h
+++ b/net/quic/quic_stream_factory.h
@@ -120,6 +120,12 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
// IP address changes.
virtual void OnIPAddressChanged() OVERRIDE;
+ bool require_confirmation() const { return require_confirmation_; }
+
+ void set_require_confirmation(bool require_confirmation) {
+ require_confirmation_ = require_confirmation;
+ }
+
private:
class Job;
@@ -148,6 +154,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
QuicCryptoClientConfig* GetOrCreateCryptoConfig(
const HostPortProxyPair& host_port_proxy_pair);
+ bool require_confirmation_;
HostResolver* host_resolver_;
ClientSocketFactory* client_socket_factory_;
QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory_;

Powered by Google App Engine
This is Rietveld 408576698