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

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

Issue 1665743003: Refactor QuicCryptoClientStream to use QuicSession directly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@113297234
Patch Set: Created 4 years, 10 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/tools/quic/end_to_end_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/crypto/proof_verifier_chromium.h" 9 #include "net/quic/crypto/proof_verifier_chromium.h"
10 #include "net/quic/quic_server_id.h" 10 #include "net/quic/quic_server_id.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 QuicStreamId id) { 99 QuicStreamId id) {
100 if (!ShouldCreateIncomingDynamicStream(id)) { 100 if (!ShouldCreateIncomingDynamicStream(id)) {
101 return nullptr; 101 return nullptr;
102 } 102 }
103 return new QuicSpdyClientStream(id, this); 103 return new QuicSpdyClientStream(id, this);
104 } 104 }
105 105
106 QuicCryptoClientStreamBase* QuicClientSession::CreateQuicCryptoStream() { 106 QuicCryptoClientStreamBase* QuicClientSession::CreateQuicCryptoStream() {
107 return new QuicCryptoClientStream( 107 return new QuicCryptoClientStream(
108 server_id_, this, new ProofVerifyContextChromium(0, BoundNetLog()), 108 server_id_, this, new ProofVerifyContextChromium(0, BoundNetLog()),
109 crypto_config_); 109 crypto_config_, this);
110 } 110 }
111 111
112
113 } // namespace net 112 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/end_to_end_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698