Index: net/quic/quic_crypto_stream.cc |
diff --git a/net/quic/quic_crypto_stream.cc b/net/quic/quic_crypto_stream.cc |
index 25467cb3cb6458517ac79d9458f643860ac4064c..fe2d311f30b2a2a418466ea1162c1d654bd0d74d 100644 |
--- a/net/quic/quic_crypto_stream.cc |
+++ b/net/quic/quic_crypto_stream.cc |
@@ -61,11 +61,17 @@ QuicPriority QuicCryptoStream::EffectivePriority() const { |
void QuicCryptoStream::SendHandshakeMessage( |
const CryptoHandshakeMessage& message) { |
+ SendHandshakeMessage(message, NULL); |
+} |
+ |
+void QuicCryptoStream::SendHandshakeMessage( |
+ const CryptoHandshakeMessage& message, |
+ QuicAckNotifier::DelegateInterface* delegate) { |
DVLOG(1) << ENDPOINT << "Sending " << message.DebugString(); |
session()->OnCryptoHandshakeMessageSent(message); |
const QuicData& data = message.GetSerialized(); |
// TODO(wtc): check the return value. |
- WriteOrBufferData(string(data.data(), data.length()), false, NULL); |
+ WriteOrBufferData(string(data.data(), data.length()), false, delegate); |
} |
bool QuicCryptoStream::ExportKeyingMaterial( |