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

Unified Diff: net/http/http_basic_stream.h

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/http/http_basic_stream.h
diff --git a/net/http/http_basic_stream.h b/net/http/http_basic_stream.h
index 00253c37db4e4a8129f36c1827212ecb140ddbcc..1db5d12700a11d73fbd7e317174ae7acb2bd9eb2 100644
--- a/net/http/http_basic_stream.h
+++ b/net/http/http_basic_stream.h
@@ -66,6 +66,8 @@ class HttpBasicStream : public HttpStream {
virtual int64 GetTotalReceivedBytes() const OVERRIDE;
+ virtual int64 GetReceivedBodyLength() const OVERRIDE;
+
virtual bool GetLoadTimingInfo(
LoadTimingInfo* load_timing_info) const OVERRIDE;
@@ -80,6 +82,12 @@ class HttpBasicStream : public HttpStream {
virtual void SetPriority(RequestPriority priority) OVERRIDE;
+ virtual void SetRestartInfo(int64 read_offset,
+ const void* hash,
+ size_t hash_length) OVERRIDE;
+
+ virtual void GetHash(void* output, size_t hash_length) OVERRIDE;
+
private:
HttpStreamParser* parser() const { return state_.parser(); }

Powered by Google App Engine
This is Rietveld 408576698