OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 base::WeakPtr<SpdySession> new_spdy_session_; | 400 base::WeakPtr<SpdySession> new_spdy_session_; |
401 | 401 |
402 // Initialized when we have an existing SpdySession. | 402 // Initialized when we have an existing SpdySession. |
403 base::WeakPtr<SpdySession> existing_spdy_session_; | 403 base::WeakPtr<SpdySession> existing_spdy_session_; |
404 | 404 |
405 // Only used if |new_spdy_session_| is non-NULL. | 405 // Only used if |new_spdy_session_| is non-NULL. |
406 bool spdy_session_direct_; | 406 bool spdy_session_direct_; |
407 | 407 |
408 JobStatus job_status_; | 408 JobStatus job_status_; |
409 JobStatus other_job_status_; | 409 JobStatus other_job_status_; |
| 410 base::TimeTicks job_stream_ready_start_time_; |
410 | 411 |
411 // True if BidirectionalStreamJob is requested. | 412 // True if BidirectionalStreamJob is requested. |
412 bool for_bidirectional_; | 413 bool for_bidirectional_; |
413 | 414 |
414 base::WeakPtrFactory<Job> ptr_factory_; | 415 base::WeakPtrFactory<Job> ptr_factory_; |
415 | 416 |
416 DISALLOW_COPY_AND_ASSIGN(Job); | 417 DISALLOW_COPY_AND_ASSIGN(Job); |
417 }; | 418 }; |
418 | 419 |
419 } // namespace net | 420 } // namespace net |
420 | 421 |
421 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 422 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
OLD | NEW |