| 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 #include "net/http/http_stream_factory_impl_request.h" | 5 #include "net/http/http_stream_factory_impl_request.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/stl_util-inl.h" | 8 #include "base/stl_util.h" |
| 9 #include "net/http/http_stream_factory_impl_job.h" | 9 #include "net/http/http_stream_factory_impl_job.h" |
| 10 #include "net/spdy/spdy_http_stream.h" | 10 #include "net/spdy/spdy_http_stream.h" |
| 11 #include "net/spdy/spdy_session.h" | 11 #include "net/spdy/spdy_session.h" |
| 12 | 12 |
| 13 namespace net { | 13 namespace net { |
| 14 | 14 |
| 15 HttpStreamFactoryImpl::Request::Request(const GURL& url, | 15 HttpStreamFactoryImpl::Request::Request(const GURL& url, |
| 16 HttpStreamFactoryImpl* factory, | 16 HttpStreamFactoryImpl* factory, |
| 17 HttpStreamRequest::Delegate* delegate, | 17 HttpStreamRequest::Delegate* delegate, |
| 18 const BoundNetLog& net_log) | 18 const BoundNetLog& net_log) |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 RemoveRequestFromSpdySessionRequestMap(); | 280 RemoveRequestFromSpdySessionRequestMap(); |
| 281 | 281 |
| 282 std::set<Job*> tmp; | 282 std::set<Job*> tmp; |
| 283 tmp.swap(jobs_); | 283 tmp.swap(jobs_); |
| 284 | 284 |
| 285 for (std::set<Job*>::iterator it = tmp.begin(); it != tmp.end(); ++it) | 285 for (std::set<Job*>::iterator it = tmp.begin(); it != tmp.end(); ++it) |
| 286 factory_->OrphanJob(*it, this); | 286 factory_->OrphanJob(*it, this); |
| 287 } | 287 } |
| 288 | 288 |
| 289 } // namespace net | 289 } // namespace net |
| OLD | NEW |