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

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

Issue 337093003: QuicServer: Use Chrome's header parsing rather than Balsa (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@quic_server_3
Patch Set: Address review comments 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
« no previous file with comments | « net/quic/quic_in_memory_cache.cc ('k') | net/quic/quic_spdy_server_stream.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( 14 QuicServerSession::QuicServerSession(
15 const QuicConfig& config, 15 const QuicConfig& config,
16 QuicConnection* connection, 16 QuicConnection* connection,
17 QuicConnectionPacketWriterWrapper* connection_packet_writer, 17 QuicConnectionPacketWriterWrapper* connection_packet_writer,
18 QuicServerSessionVisitor* visitor) 18 QuicServerSessionVisitor* visitor)
19 : QuicSession(connection, config), 19 : QuicSession(connection, config),
20 connection_packet_writer_(connection_packet_writer), 20 connection_packet_writer_(connection_packet_writer),
21 visitor_(visitor) {} 21 visitor_(visitor) {
Ryan Hamilton 2014/06/20 00:24:09 I'd revert this, unless you're planning to merge t
dmziegler 2014/06/20 01:16:40 Done.
22 }
22 23
23 QuicServerSession::~QuicServerSession() {} 24 QuicServerSession::~QuicServerSession() {}
24 25
25 void QuicServerSession::InitializeSession( 26 void QuicServerSession::InitializeSession(
26 const QuicCryptoServerConfig& crypto_config) { 27 const QuicCryptoServerConfig& crypto_config) {
27 crypto_stream_.reset(CreateQuicCryptoServerStream(crypto_config)); 28 crypto_stream_.reset(CreateQuicCryptoServerStream(crypto_config));
28 } 29 }
29 30
30 QuicCryptoServerStream* QuicServerSession::CreateQuicCryptoServerStream( 31 QuicCryptoServerStream* QuicServerSession::CreateQuicCryptoServerStream(
31 const QuicCryptoServerConfig& crypto_config) { 32 const QuicCryptoServerConfig& crypto_config) {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 QuicDataStream* QuicServerSession::CreateOutgoingDataStream() { 76 QuicDataStream* QuicServerSession::CreateOutgoingDataStream() {
76 DLOG(ERROR) << "Server push not yet supported"; 77 DLOG(ERROR) << "Server push not yet supported";
77 return NULL; 78 return NULL;
78 } 79 }
79 80
80 QuicCryptoServerStream* QuicServerSession::GetCryptoStream() { 81 QuicCryptoServerStream* QuicServerSession::GetCryptoStream() {
81 return crypto_stream_.get(); 82 return crypto_stream_.get();
82 } 83 }
83 84
84 } // namespace net 85 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_in_memory_cache.cc ('k') | net/quic/quic_spdy_server_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698