| 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" | 19 #include "net/log/net_log.h" |
| 20 #include "net/quic/quic_server_id.h" | 20 #include "net/quic/core/quic_server_id.h" |
| 21 #include "net/spdy/bidirectional_stream_spdy_impl.h" | 21 #include "net/spdy/bidirectional_stream_spdy_impl.h" |
| 22 #include "net/spdy/spdy_http_stream.h" | 22 #include "net/spdy/spdy_http_stream.h" |
| 23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
| 24 | 24 |
| 25 namespace net { | 25 namespace net { |
| 26 | 26 |
| 27 namespace { | 27 namespace { |
| 28 // Default JobFactory for creating HttpStreamFactoryImpl::Jobs. | 28 // Default JobFactory for creating HttpStreamFactoryImpl::Jobs. |
| 29 class DefaultJobFactory : public HttpStreamFactoryImpl::JobFactory { | 29 class DefaultJobFactory : public HttpStreamFactoryImpl::JobFactory { |
| 30 public: | 30 public: |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 ++it) { | 214 ++it) { |
| 215 if (it->get() == controller) { | 215 if (it->get() == controller) { |
| 216 job_controller_set_.erase(it); | 216 job_controller_set_.erase(it); |
| 217 return; | 217 return; |
| 218 } | 218 } |
| 219 } | 219 } |
| 220 NOTREACHED(); | 220 NOTREACHED(); |
| 221 } | 221 } |
| 222 | 222 |
| 223 } // namespace net | 223 } // namespace net |
| OLD | NEW |