OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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.h" | 5 #include "net/http/http_stream_factory_impl.h" |
6 | 6 |
7 #include "base/string_number_conversions.h" | 7 #include "base/string_number_conversions.h" |
8 #include "base/stl_util-inl.h" | 8 #include "base/stl_util.h" |
9 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
10 #include "net/base/net_log.h" | 10 #include "net/base/net_log.h" |
11 #include "net/base/net_util.h" | 11 #include "net/base/net_util.h" |
12 #include "net/http/http_network_session.h" | 12 #include "net/http/http_network_session.h" |
13 #include "net/http/http_stream_factory_impl_job.h" | 13 #include "net/http/http_stream_factory_impl_job.h" |
14 #include "net/http/http_stream_factory_impl_request.h" | 14 #include "net/http/http_stream_factory_impl_request.h" |
15 #include "net/spdy/spdy_http_stream.h" | 15 #include "net/spdy/spdy_http_stream.h" |
16 | 16 |
17 namespace net { | 17 namespace net { |
18 | 18 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 delete job; | 199 delete job; |
200 } | 200 } |
201 | 201 |
202 void HttpStreamFactoryImpl::OnPreconnectsComplete(const Job* job) { | 202 void HttpStreamFactoryImpl::OnPreconnectsComplete(const Job* job) { |
203 preconnect_job_set_.erase(job); | 203 preconnect_job_set_.erase(job); |
204 delete job; | 204 delete job; |
205 OnPreconnectsCompleteInternal(); | 205 OnPreconnectsCompleteInternal(); |
206 } | 206 } |
207 | 207 |
208 } // namespace net | 208 } // namespace net |
OLD | NEW |