| 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_network_layer.h" | 5 #include "net/http/http_network_layer.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/string_number_conversions.h" | 8 #include "base/string_number_conversions.h" |
| 9 #include "base/string_split.h" | 9 #include "base/string_split.h" |
| 10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
| 11 #include "net/http/http_network_session.h" | 11 #include "net/http/http_network_session.h" |
| 12 #include "net/http/http_network_transaction.h" | 12 #include "net/http/http_network_transaction.h" |
| 13 #include "net/http/http_server_properties_impl.h" | 13 #include "net/http/http_server_properties_impl.h" |
| 14 #include "net/http/http_stream_factory_impl_job.h" |
| 14 #include "net/spdy/spdy_framer.h" | 15 #include "net/spdy/spdy_framer.h" |
| 15 #include "net/spdy/spdy_session.h" | 16 #include "net/spdy/spdy_session.h" |
| 16 #include "net/spdy/spdy_session_pool.h" | 17 #include "net/spdy/spdy_session_pool.h" |
| 17 | 18 |
| 18 namespace net { | 19 namespace net { |
| 19 | 20 |
| 20 //----------------------------------------------------------------------------- | 21 //----------------------------------------------------------------------------- |
| 21 HttpNetworkLayer::HttpNetworkLayer(HttpNetworkSession* session) | 22 HttpNetworkLayer::HttpNetworkLayer(HttpNetworkSession* session) |
| 22 : session_(session), | 23 : session_(session), |
| 23 suspended_(false) { | 24 suspended_(false) { |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 70 |
| 70 if (session_) | 71 if (session_) |
| 71 session_->CloseIdleConnections(); | 72 session_->CloseIdleConnections(); |
| 72 } | 73 } |
| 73 | 74 |
| 74 void HttpNetworkLayer::OnResume() { | 75 void HttpNetworkLayer::OnResume() { |
| 75 suspended_ = false; | 76 suspended_ = false; |
| 76 } | 77 } |
| 77 | 78 |
| 78 } // namespace net | 79 } // namespace net |
| OLD | NEW |