Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / net / quic / quic_stream_factory.h
index 330f5f5..410a7af 100644 (file)
@@ -104,6 +104,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
       bool enable_port_selection,
       bool enable_time_based_loss_detection,
       bool always_require_handshake_confirmation,
+      bool disable_connection_pooling,
       const QuicTagVector& connection_options);
   virtual ~QuicStreamFactory();
 
@@ -159,9 +160,7 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
     return require_confirmation_;
   }
 
-  void set_require_confirmation(bool require_confirmation) {
-    require_confirmation_ = require_confirmation;
-  }
+  void set_require_confirmation(bool require_confirmation);
 
   QuicConnectionHelper* helper() { return helper_.get(); }
 
@@ -281,6 +280,9 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
   // introduce at least one RTT for the handshake before the client sends data.
   bool always_require_handshake_confirmation_;
 
+  // Set if we do not want connection pooling.
+  bool disable_connection_pooling_;
+
   // Each profile will (probably) have a unique port_seed_ value.  This value is
   // used to help seed a pseudo-random number generator (PortSuggester) so that
   // we consistently (within this profile) suggest the same ephemeral port when
@@ -289,6 +291,10 @@ class NET_EXPORT_PRIVATE QuicStreamFactory
   // port requests.
   uint64 port_seed_;
 
+  // Local address of socket that was created in CreateSession.
+  IPEndPoint local_address_;
+  bool check_persisted_supports_quic_;
+
   base::WeakPtrFactory<QuicStreamFactory> weak_factory_;
 
   DISALLOW_COPY_AND_ASSIGN(QuicStreamFactory);