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

Unified Diff: net/quic/quic_crypto_stream.cc

Issue 103973007: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix for android compile error Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/quic_crypto_stream.h ('k') | net/quic/quic_crypto_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_crypto_stream.cc
diff --git a/net/quic/quic_crypto_stream.cc b/net/quic/quic_crypto_stream.cc
index e73e61d2a3c9770a01d9d94131491f85792a4357..d1ad84bff3c8d6abf0207c0d9600883c49f9ccf4 100644
--- a/net/quic/quic_crypto_stream.cc
+++ b/net/quic/quic_crypto_stream.cc
@@ -33,8 +33,8 @@ void QuicCryptoStream::OnHandshakeMessage(
session()->OnCryptoHandshakeMessageReceived(message);
}
-uint32 QuicCryptoStream::ProcessData(const char* data,
- uint32 data_len) {
+uint32 QuicCryptoStream::ProcessRawData(const char* data,
+ uint32 data_len) {
// Do not process handshake messages after the handshake is confirmed.
if (handshake_confirmed()) {
CloseConnection(QUIC_CRYPTO_MESSAGE_AFTER_HANDSHAKE_COMPLETE);
@@ -47,6 +47,10 @@ uint32 QuicCryptoStream::ProcessData(const char* data,
return data_len;
}
+QuicPriority QuicCryptoStream::EffectivePriority() const {
+ return 0;
+}
+
void QuicCryptoStream::SendHandshakeMessage(
const CryptoHandshakeMessage& message) {
session()->OnCryptoHandshakeMessageSent(message);
@@ -55,7 +59,7 @@ void QuicCryptoStream::SendHandshakeMessage(
// any other frames in a single packet.
session()->connection()->Flush();
// TODO(wtc): check the return value.
- WriteData(string(data.data(), data.length()), false);
+ WriteOrBufferData(string(data.data(), data.length()), false);
session()->connection()->Flush();
}
« no previous file with comments | « net/quic/quic_crypto_stream.h ('k') | net/quic/quic_crypto_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698