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

Side by Side Diff: net/quic/quic_server_session.cc

Issue 330333006: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linus_tsan error - reverted the change to ConnectionMigrationClientPortChanged unitttest Created 6 years, 6 months 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 | « net/quic/quic_server_session.h ('k') | net/quic/quic_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/quic/quic_server_session.h" 5 #include "net/quic/quic_server_session.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/quic/quic_connection.h" 8 #include "net/quic/quic_connection.h"
9 #include "net/quic/quic_spdy_server_stream.h" 9 #include "net/quic/quic_spdy_server_stream.h"
10 #include "net/quic/reliable_quic_stream.h" 10 #include "net/quic/reliable_quic_stream.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 QuicServerSession::QuicServerSession(const QuicConfig& config, 14 QuicServerSession::QuicServerSession(const QuicConfig& config,
15 QuicConnection* connection, 15 QuicConnection* connection,
16 uint32 max_flow_control_window_bytes,
17 QuicServerSessionVisitor* visitor) 16 QuicServerSessionVisitor* visitor)
18 : QuicSession(connection, max_flow_control_window_bytes, config), 17 : QuicSession(connection, config),
19 visitor_(visitor) {} 18 visitor_(visitor) {}
20 19
21 QuicServerSession::~QuicServerSession() {} 20 QuicServerSession::~QuicServerSession() {}
22 21
23 void QuicServerSession::InitializeSession( 22 void QuicServerSession::InitializeSession(
24 const QuicCryptoServerConfig& crypto_config) { 23 const QuicCryptoServerConfig& crypto_config) {
25 crypto_stream_.reset(CreateQuicCryptoServerStream(crypto_config)); 24 crypto_stream_.reset(CreateQuicCryptoServerStream(crypto_config));
26 } 25 }
27 26
28 QuicCryptoServerStream* QuicServerSession::CreateQuicCryptoServerStream( 27 QuicCryptoServerStream* QuicServerSession::CreateQuicCryptoServerStream(
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 QuicDataStream* QuicServerSession::CreateOutgoingDataStream() { 72 QuicDataStream* QuicServerSession::CreateOutgoingDataStream() {
74 DLOG(ERROR) << "Server push not yet supported"; 73 DLOG(ERROR) << "Server push not yet supported";
75 return NULL; 74 return NULL;
76 } 75 }
77 76
78 QuicCryptoServerStream* QuicServerSession::GetCryptoStream() { 77 QuicCryptoServerStream* QuicServerSession::GetCryptoStream() {
79 return crypto_stream_.get(); 78 return crypto_stream_.get();
80 } 79 }
81 80
82 } // namespace net 81 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_server_session.h ('k') | net/quic/quic_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698