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

Unified Diff: net/quic/quic_http_stream.cc

Issue 403393003: HTTP retry support. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: net/quic/quic_http_stream.cc
diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc
index 36eac6aee8ae1fffbf1c5d122c10ceae7c5ea891..d3bcc3ac47f545ef4e41fd4ffd60b84764a86fd8 100644
--- a/net/quic/quic_http_stream.cc
+++ b/net/quic/quic_http_stream.cc
@@ -252,6 +252,10 @@ int64 QuicHttpStream::GetTotalReceivedBytes() const {
return closed_stream_received_bytes_;
}
+int64 QuicHttpStream::GetReceivedBodyLength() const {
+ return 0;
+}
+
bool QuicHttpStream::GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const {
// TODO(mmenke): Figure out what to do here.
return true;
@@ -281,6 +285,15 @@ void QuicHttpStream::SetPriority(RequestPriority priority) {
priority_ = priority;
}
+void QuicHttpStream::SetRestartInfo(int64 read_offset, const void* hash,
+ size_t hash_length) {
+ // Nothing to do here.
+}
+
+void QuicHttpStream::GetHash(void* output, size_t len) {
+ // Nothing to do here.
+}
+
int QuicHttpStream::OnDataReceived(const char* data, int length) {
DCHECK_NE(0, length);
// Are we still reading the response headers.

Powered by Google App Engine
This is Rietveld 408576698