OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/task.h" | 10 #include "base/task.h" |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
210 scoped_ptr<ClientSocketHandle> connection_; | 210 scoped_ptr<ClientSocketHandle> connection_; |
211 HttpNetworkSession* const session_; | 211 HttpNetworkSession* const session_; |
212 HttpStreamFactoryImpl* const stream_factory_; | 212 HttpStreamFactoryImpl* const stream_factory_; |
213 State next_state_; | 213 State next_state_; |
214 ProxyService::PacRequest* pac_request_; | 214 ProxyService::PacRequest* pac_request_; |
215 SSLInfo ssl_info_; | 215 SSLInfo ssl_info_; |
216 | 216 |
217 // The origin server we're trying to reach. | 217 // The origin server we're trying to reach. |
218 HostPortPair origin_; | 218 HostPortPair origin_; |
219 | 219 |
220 // The origin url we're trying to reach. | |
willchan no longer on Chromium
2011/06/07 19:53:29
Please add a comment noting how this may be modifi
| |
221 GURL origin_url_; | |
222 | |
220 // If this is a Job for an "Alternate-Protocol", then this will be non-NULL | 223 // If this is a Job for an "Alternate-Protocol", then this will be non-NULL |
221 // and will specify the original URL. | 224 // and will specify the original URL. |
222 scoped_ptr<GURL> original_url_; | 225 scoped_ptr<GURL> original_url_; |
223 | 226 |
224 // This is the Job we're dependent on. It will notify us if/when it's OK to | 227 // This is the Job we're dependent on. It will notify us if/when it's OK to |
225 // proceed. | 228 // proceed. |
226 Job* blocking_job_; | 229 Job* blocking_job_; |
227 | 230 |
228 // |dependent_job_| is dependent on |this|. Notify it when it's ok to proceed. | 231 // |dependent_job_| is dependent on |this|. Notify it when it's ok to proceed. |
229 Job* dependent_job_; | 232 Job* dependent_job_; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
266 bool spdy_session_direct_; | 269 bool spdy_session_direct_; |
267 | 270 |
268 ScopedRunnableMethodFactory<Job> method_factory_; | 271 ScopedRunnableMethodFactory<Job> method_factory_; |
269 | 272 |
270 DISALLOW_COPY_AND_ASSIGN(Job); | 273 DISALLOW_COPY_AND_ASSIGN(Job); |
271 }; | 274 }; |
272 | 275 |
273 } // namespace net | 276 } // namespace net |
274 | 277 |
275 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ | 278 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_JOB_H_ |
OLD | NEW |