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

Side by Side Diff: net/tools/quic/quic_client_session.cc

Issue 330333006: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
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/tools/quic/quic_client_session.h" 5 #include "net/tools/quic/quic_client_session.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/quic/crypto/crypto_protocol.h" 8 #include "net/quic/crypto/crypto_protocol.h"
9 #include "net/quic/quic_server_id.h" 9 #include "net/quic/quic_server_id.h"
10 #include "net/tools/quic/quic_spdy_client_stream.h" 10 #include "net/tools/quic/quic_spdy_client_stream.h"
11 11
12 using std::string; 12 using std::string;
13 13
14 namespace net { 14 namespace net {
15 namespace tools { 15 namespace tools {
16 16
17 QuicClientSession::QuicClientSession( 17 QuicClientSession::QuicClientSession(
18 const QuicServerId& server_id, 18 const QuicServerId& server_id,
19 const QuicConfig& config, 19 const QuicConfig& config,
20 QuicConnection* connection, 20 QuicConnection* connection,
21 uint32 max_flow_control_receive_window_bytes,
22 QuicCryptoClientConfig* crypto_config) 21 QuicCryptoClientConfig* crypto_config)
23 : QuicClientSessionBase(connection, 22 : QuicClientSessionBase(connection,
24 max_flow_control_receive_window_bytes,
25 config), 23 config),
wtc 2014/06/16 19:35:56 Nit: this should fit on the previous line.
ramant (doing other things) 2014/06/16 21:13:53 Done.
26 crypto_stream_(server_id, this, NULL, crypto_config) { 24 crypto_stream_(server_id, this, NULL, crypto_config) {
27 } 25 }
28 26
29 QuicClientSession::~QuicClientSession() { 27 QuicClientSession::~QuicClientSession() {
30 } 28 }
31 29
32 void QuicClientSession::OnProofValid( 30 void QuicClientSession::OnProofValid(
33 const QuicCryptoClientConfig::CachedState& /*cached*/) { 31 const QuicCryptoClientConfig::CachedState& /*cached*/) {
34 } 32 }
35 33
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } 69 }
72 70
73 QuicDataStream* QuicClientSession::CreateIncomingDataStream( 71 QuicDataStream* QuicClientSession::CreateIncomingDataStream(
74 QuicStreamId id) { 72 QuicStreamId id) {
75 DLOG(ERROR) << "Server push not supported"; 73 DLOG(ERROR) << "Server push not supported";
76 return NULL; 74 return NULL;
77 } 75 }
78 76
79 } // namespace tools 77 } // namespace tools
80 } // namespace net 78 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698