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

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

Issue 651993003: QUIC - changes to keep chromium code and internal source tree in sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_1011
Patch Set: Merge with TOT Created 6 years, 2 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
« no previous file with comments | « net/quic/quic_sent_packet_manager.cc ('k') | net/quic/quic_session_test.cc » ('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/crypto/source_address_token.h" 8 #include "net/quic/crypto/source_address_token.h"
9 #include "net/quic/quic_connection.h" 9 #include "net/quic/quic_connection.h"
10 #include "net/quic/quic_flags.h" 10 #include "net/quic/quic_flags.h"
11 #include "net/quic/quic_spdy_server_stream.h" 11 #include "net/quic/quic_spdy_server_stream.h"
12 #include "net/quic/reliable_quic_stream.h" 12 #include "net/quic/reliable_quic_stream.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 QuicServerSession::QuicServerSession( 16 QuicServerSession::QuicServerSession(const QuicConfig& config,
17 const QuicConfig& config, 17 QuicConnection* connection,
18 QuicConnection* connection, 18 QuicServerSessionVisitor* visitor)
19 QuicServerSessionVisitor* visitor)
20 : QuicSession(connection, config), 19 : QuicSession(connection, config),
21 visitor_(visitor), 20 visitor_(visitor),
22 bandwidth_estimate_sent_to_client_(QuicBandwidth::Zero()), 21 bandwidth_estimate_sent_to_client_(QuicBandwidth::Zero()),
23 last_server_config_update_time_(QuicTime::Zero()) {} 22 last_server_config_update_time_(QuicTime::Zero()) {}
24 23
25 QuicServerSession::~QuicServerSession() {} 24 QuicServerSession::~QuicServerSession() {}
26 25
27 void QuicServerSession::InitializeSession( 26 void QuicServerSession::InitializeSession(
28 const QuicCryptoServerConfig& crypto_config) { 27 const QuicCryptoServerConfig& crypto_config) {
29 QuicSession::InitializeSession(); 28 QuicSession::InitializeSession();
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 QuicDataStream* QuicServerSession::CreateOutgoingDataStream() { 165 QuicDataStream* QuicServerSession::CreateOutgoingDataStream() {
167 DLOG(ERROR) << "Server push not yet supported"; 166 DLOG(ERROR) << "Server push not yet supported";
168 return nullptr; 167 return nullptr;
169 } 168 }
170 169
171 QuicCryptoServerStream* QuicServerSession::GetCryptoStream() { 170 QuicCryptoServerStream* QuicServerSession::GetCryptoStream() {
172 return crypto_stream_.get(); 171 return crypto_stream_.get();
173 } 172 }
174 173
175 } // namespace net 174 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_sent_packet_manager.cc ('k') | net/quic/quic_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698