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

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

Issue 612323013: QUIC - (no behavior change) s/NULL/nullptr/g in .../quic/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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_crypto_server_stream_test.cc ('k') | net/quic/quic_data_stream.cc » ('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 (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/quic/quic_crypto_stream.h" 5 #include "net/quic/quic_crypto_stream.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/strings/string_piece.h" 9 #include "base/strings/string_piece.h"
10 #include "net/quic/crypto/crypto_handshake.h" 10 #include "net/quic/crypto/crypto_handshake.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 return data_len; 54 return data_len;
55 } 55 }
56 56
57 QuicPriority QuicCryptoStream::EffectivePriority() const { 57 QuicPriority QuicCryptoStream::EffectivePriority() const {
58 return QuicUtils::HighestPriority(); 58 return QuicUtils::HighestPriority();
59 } 59 }
60 60
61 void QuicCryptoStream::SendHandshakeMessage( 61 void QuicCryptoStream::SendHandshakeMessage(
62 const CryptoHandshakeMessage& message) { 62 const CryptoHandshakeMessage& message) {
63 SendHandshakeMessage(message, NULL); 63 SendHandshakeMessage(message, nullptr);
64 } 64 }
65 65
66 void QuicCryptoStream::SendHandshakeMessage( 66 void QuicCryptoStream::SendHandshakeMessage(
67 const CryptoHandshakeMessage& message, 67 const CryptoHandshakeMessage& message,
68 QuicAckNotifier::DelegateInterface* delegate) { 68 QuicAckNotifier::DelegateInterface* delegate) {
69 DVLOG(1) << ENDPOINT << "Sending " << message.DebugString(); 69 DVLOG(1) << ENDPOINT << "Sending " << message.DebugString();
70 session()->OnCryptoHandshakeMessageSent(message); 70 session()->OnCryptoHandshakeMessageSent(message);
71 const QuicData& data = message.GetSerialized(); 71 const QuicData& data = message.GetSerialized();
72 // TODO(wtc): check the return value. 72 // TODO(wtc): check the return value.
73 WriteOrBufferData(string(data.data(), data.length()), false, delegate); 73 WriteOrBufferData(string(data.data(), data.length()), false, delegate);
(...skipping 16 matching lines...) Expand all
90 result_len, 90 result_len,
91 result); 91 result);
92 } 92 }
93 93
94 const QuicCryptoNegotiatedParameters& 94 const QuicCryptoNegotiatedParameters&
95 QuicCryptoStream::crypto_negotiated_params() const { 95 QuicCryptoStream::crypto_negotiated_params() const {
96 return crypto_negotiated_params_; 96 return crypto_negotiated_params_;
97 } 97 }
98 98
99 } // namespace net 99 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_server_stream_test.cc ('k') | net/quic/quic_data_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698