Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / net / http / http_stream_factory_impl_job.h
index 1970b5b..d440647 100644 (file)
@@ -92,6 +92,10 @@ class HttpStreamFactoryImpl::Job {
   // Indicates whether or not this Job has been orphaned by a Request.
   bool IsOrphaned() const;
 
+  // Called to indicate that this job succeeded, and some other jobs
+  // will be orphaned.
+  void ReportJobSuccededForRequest();
+
  private:
   enum State {
     STATE_START,
@@ -277,6 +281,9 @@ class HttpStreamFactoryImpl::Job {
   bool using_quic_;
   QuicStreamRequest quic_request_;
 
+  // True if this job used an existing QUIC session.
+  bool using_existing_quic_session_;
+
   // Force spdy for all connections.
   bool force_spdy_always_;