Chromium Code Reviews| Index: net/http/http_stream_factory_impl_job.h |
| diff --git a/net/http/http_stream_factory_impl_job.h b/net/http/http_stream_factory_impl_job.h |
| index 6f6f72965dda34ee89648c4ecf0e6f3661c81afa..ba349a6982ae3c55690c79d8a9dd65741f5f9b39 100644 |
| --- a/net/http/http_stream_factory_impl_job.h |
| +++ b/net/http/http_stream_factory_impl_job.h |
| @@ -55,12 +55,9 @@ class HttpStreamFactoryImpl::Job { |
| int RestartTunnelWithProxyAuth(const AuthCredentials& credentials); |
| LoadState GetLoadState() const; |
| - // Marks this Job as the "alternate" job, from Alternate-Protocol. Tracks the |
| - // original url so we can mark the Alternate-Protocol as broken if |
| - // we fail to connect. |alternate| specifies the alternate protocol to use |
| - // and alternate port to connect to. |
| - void MarkAsAlternate(const GURL& original_url, |
| - AlternativeService alternative_service); |
| + // Marks this Job as the "alternate" job, from Alternate-Protocol or Alt-Svc |
| + // using the specified alternate service. |
| + void MarkAsAlternate(AlternativeService alternative_service); |
| // Tells |this| to wait for |job| to resume it. |
| void WaitFor(Job* job); |
| @@ -273,12 +270,14 @@ class HttpStreamFactoryImpl::Job { |
| // original request when host mapping rules are set-up. |
| GURL origin_url_; |
| - // The original URL if the Job is for an alternative service. |
| - GURL original_url_; |
| - |
| // AlternateProtocol for this job if this is an alternate job. |
| AlternativeService alternative_service_; |
| + // The URL to be used for proxy resolution and socket pools. If the alternate |
| + // service is SPDY, the URL will containg the host:port from |
| + // |alternate_service_| and "https://" scheme. |
|
Bence
2015/04/03 19:35:52
Please clarify that for a non-alternate Job, this
Ryan Hamilton
2015/04/03 20:33:21
Done.
|
| + GURL alternative_service_url_; |
| + |
| // AlternateProtocol for the other job if this is not an alternate job. |
| AlternativeService other_job_alternative_service_; |