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

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

Issue 734063004: Update from https://crrev.com/304418 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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_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/crypto/source_address_token.h" 8 #include "net/quic/crypto/cached_network_parameters.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(const QuicConfig& config, 16 QuicServerSession::QuicServerSession(const QuicConfig& config,
17 QuicConnection* connection, 17 QuicConnection* connection,
18 QuicServerSessionVisitor* visitor, 18 QuicServerSessionVisitor* visitor)
19 bool is_secure) 19 : QuicSession(connection, config),
20 : QuicSession(connection, config, is_secure),
21 visitor_(visitor), 20 visitor_(visitor),
22 bandwidth_estimate_sent_to_client_(QuicBandwidth::Zero()), 21 bandwidth_estimate_sent_to_client_(QuicBandwidth::Zero()),
23 last_scup_time_(QuicTime::Zero()), 22 last_scup_time_(QuicTime::Zero()),
24 last_scup_sequence_number_(0) {} 23 last_scup_sequence_number_(0) {}
25 24
26 QuicServerSession::~QuicServerSession() {} 25 QuicServerSession::~QuicServerSession() {}
27 26
28 void QuicServerSession::InitializeSession( 27 void QuicServerSession::InitializeSession(
29 const QuicCryptoServerConfig& crypto_config) { 28 const QuicCryptoServerConfig& crypto_config) {
30 QuicSession::InitializeSession(); 29 QuicSession::InitializeSession();
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 QuicDataStream* QuicServerSession::CreateOutgoingDataStream() { 172 QuicDataStream* QuicServerSession::CreateOutgoingDataStream() {
174 DLOG(ERROR) << "Server push not yet supported"; 173 DLOG(ERROR) << "Server push not yet supported";
175 return nullptr; 174 return nullptr;
176 } 175 }
177 176
178 QuicCryptoServerStream* QuicServerSession::GetCryptoStream() { 177 QuicCryptoServerStream* QuicServerSession::GetCryptoStream() {
179 return crypto_stream_.get(); 178 return crypto_stream_.get();
180 } 179 }
181 180
182 } // namespace net 181 } // 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