OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <string> | 7 #include <string> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
11 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
13 #include "net/http/http_network_session.h" | 13 #include "net/http/http_network_session.h" |
14 #include "net/http/http_server_properties.h" | 14 #include "net/http/http_server_properties.h" |
15 #include "net/http/http_stream_factory_impl_job.h" | 15 #include "net/http/http_stream_factory_impl_job.h" |
16 #include "net/http/http_stream_factory_impl_job_controller.h" | 16 #include "net/http/http_stream_factory_impl_job_controller.h" |
17 #include "net/http/http_stream_factory_impl_request.h" | 17 #include "net/http/http_stream_factory_impl_request.h" |
18 #include "net/http/transport_security_state.h" | 18 #include "net/http/transport_security_state.h" |
19 #include "net/log/net_log.h" | |
20 #include "net/quic/core/quic_server_id.h" | 19 #include "net/quic/core/quic_server_id.h" |
21 #include "net/spdy/bidirectional_stream_spdy_impl.h" | 20 #include "net/spdy/bidirectional_stream_spdy_impl.h" |
22 #include "net/spdy/spdy_http_stream.h" | 21 #include "net/spdy/spdy_http_stream.h" |
23 #include "url/gurl.h" | 22 #include "url/gurl.h" |
24 #include "url/url_constants.h" | 23 #include "url/url_constants.h" |
25 | 24 |
26 namespace net { | 25 namespace net { |
27 | 26 |
28 namespace { | 27 namespace { |
29 // Default JobFactory for creating HttpStreamFactoryImpl::Jobs. | 28 // Default JobFactory for creating HttpStreamFactoryImpl::Jobs. |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 ++it) { | 233 ++it) { |
235 if (it->get() == controller) { | 234 if (it->get() == controller) { |
236 job_controller_set_.erase(it); | 235 job_controller_set_.erase(it); |
237 return; | 236 return; |
238 } | 237 } |
239 } | 238 } |
240 NOTREACHED(); | 239 NOTREACHED(); |
241 } | 240 } |
242 | 241 |
243 } // namespace net | 242 } // namespace net |
OLD | NEW |