Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(457)

Side by Side Diff: net/http/http_network_layer.cc

Issue 11416058: Integrating the QuicStreamFactory into the network stack. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix static initializer Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/http/http_network_session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | net/http/http_network_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698