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 <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 base::WeakPtr<SpdySession> new_spdy_session_; | 458 base::WeakPtr<SpdySession> new_spdy_session_; |
459 | 459 |
460 // Initialized when we have an existing SpdySession. | 460 // Initialized when we have an existing SpdySession. |
461 base::WeakPtr<SpdySession> existing_spdy_session_; | 461 base::WeakPtr<SpdySession> existing_spdy_session_; |
462 | 462 |
463 // Only used if |new_spdy_session_| is non-NULL. | 463 // Only used if |new_spdy_session_| is non-NULL. |
464 bool spdy_session_direct_; | 464 bool spdy_session_direct_; |
465 | 465 |
466 JobStatus job_status_; | 466 JobStatus job_status_; |
467 JobStatus other_job_status_; | 467 JobStatus other_job_status_; |
468 base::TimeTicks job_stream_ready_start_time_; | |
469 | 468 |
470 // Type of stream that is requested. | 469 // Type of stream that is requested. |
471 HttpStreamRequest::StreamType stream_type_; | 470 HttpStreamRequest::StreamType stream_type_; |
472 | 471 |
473 base::WeakPtrFactory<Job> ptr_factory_; | 472 base::WeakPtrFactory<Job> ptr_factory_; |
474 | 473 |
475 DISALLOW_COPY_AND_ASSIGN(Job); | 474 DISALLOW_COPY_AND_ASSIGN(Job); |
476 }; | 475 }; |
477 | 476 |
478 // Factory for creating Jobs. | 477 // Factory for creating Jobs. |
(...skipping 25 matching lines...) Expand all Loading... |
504 const SSLConfig& server_ssl_config, | 503 const SSLConfig& server_ssl_config, |
505 const SSLConfig& proxy_ssl_config, | 504 const SSLConfig& proxy_ssl_config, |
506 HostPortPair destination, | 505 HostPortPair destination, |
507 GURL origin_url, | 506 GURL origin_url, |
508 NetLog* net_log) = 0; | 507 NetLog* net_log) = 0; |
509 }; | 508 }; |
510 | 509 |
511 } // namespace net | 510 } // namespace net |
512 | 511 |
513 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 512 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
OLD | NEW |