| Index: net/http/http_stream_factory_impl_job_controller.h
|
| diff --git a/net/http/http_stream_factory_impl_job_controller.h b/net/http/http_stream_factory_impl_job_controller.h
|
| index a93bd4465121b73272a300e402031674c611843d..d4f2133154388735a335817906898a562ac9eeb2 100644
|
| --- a/net/http/http_stream_factory_impl_job_controller.h
|
| +++ b/net/http/http_stream_factory_impl_job_controller.h
|
| @@ -50,6 +50,13 @@ class HttpStreamFactoryImpl::JobController {
|
| void SetPriority(RequestPriority priority);
|
|
|
| /* Methods below are called by HttpStreamFactoryImpl::Job only */
|
| +
|
| + // Called when |job| is in STATE_WAIT_FOR_JOB. Set Job to
|
| + // STATE_INIT_CONNECTION
|
| + // if there's no Job blocking |job| and there's no waiting time.
|
| + // Otherwise resume |job| after wait_time.
|
| + int ScheduleJob(Job* job);
|
| +
|
| void OnStreamReady(Job* job,
|
| const SSLConfig& used_ssl_config,
|
| const ProxyInfo& used_proxy_info);
|
| @@ -113,8 +120,12 @@ class HttpStreamFactoryImpl::JobController {
|
| // Remove session from the SpdySessionRequestMap.
|
| void RemoveRequestFromSpdySessionRequestMap(Job* job);
|
|
|
| + void MaybeResumeOtherJob(Job* job, const base::TimeDelta& delay);
|
| +
|
| const BoundNetLog* GetNetLog(Job* job) const;
|
|
|
| + bool blocking() { return blocking_; }
|
| +
|
| WebSocketHandshakeStreamBase::CreateHelper*
|
| websocket_handshake_stream_create_helper();
|
|
|
| @@ -194,6 +205,9 @@ class HttpStreamFactoryImpl::JobController {
|
| // True if ever a job is explicitly bounded to the |request_|.
|
| bool job_bounded_;
|
|
|
| + // True if the |main_job_| has to wait for |alternative_job_|;
|
| + bool blocking_;
|
| +
|
| // At the point where a Job is irrevocably tied to |request_|, we set this.
|
| Job* bound_job_;
|
| };
|
|
|