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

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

Issue 2351513002: net: rename BoundNetLog to NetLogWithSource (Closed)
Patch Set: one more fix, content bound_net_log_ Created 4 years, 3 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
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/chromium/crypto/proof_verifier_chromium.h" 8 #include "net/quic/chromium/crypto/proof_verifier_chromium.h"
9 #include "net/quic/core/crypto/crypto_protocol.h" 9 #include "net/quic/core/crypto/crypto_protocol.h"
10 #include "net/quic/core/quic_bug_tracker.h" 10 #include "net/quic/core/quic_bug_tracker.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 return nullptr; 115 return nullptr;
116 } 116 }
117 QuicSpdyStream* stream = new QuicSpdyClientStream(id, this); 117 QuicSpdyStream* stream = new QuicSpdyClientStream(id, this);
118 stream->CloseWriteSide(); 118 stream->CloseWriteSide();
119 ActivateStream(stream); 119 ActivateStream(stream);
120 return stream; 120 return stream;
121 } 121 }
122 122
123 QuicCryptoClientStreamBase* QuicClientSession::CreateQuicCryptoStream() { 123 QuicCryptoClientStreamBase* QuicClientSession::CreateQuicCryptoStream() {
124 return new QuicCryptoClientStream( 124 return new QuicCryptoClientStream(
125 server_id_, this, new ProofVerifyContextChromium(0, BoundNetLog()), 125 server_id_, this, new ProofVerifyContextChromium(0, NetLogWithSource()),
126 crypto_config_, this); 126 crypto_config_, this);
127 } 127 }
128 128
129 bool QuicClientSession::IsAuthorized(const string& authority) { 129 bool QuicClientSession::IsAuthorized(const string& authority) {
130 return true; 130 return true;
131 } 131 }
132 132
133 } // namespace net 133 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698