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

Unified Diff: net/websockets/websocket_basic_handshake_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/websockets/websocket_basic_handshake_stream.h
diff --git a/net/websockets/websocket_basic_handshake_stream.h b/net/websockets/websocket_basic_handshake_stream.h
index 51f0c4db1c57c78e098c09d750abcc0a34824f1d..1564fdfdc83270998d792837ef6298cb913b2d4b 100644
--- a/net/websockets/websocket_basic_handshake_stream.h
+++ b/net/websockets/websocket_basic_handshake_stream.h
@@ -57,6 +57,7 @@ class NET_EXPORT_PRIVATE WebSocketBasicHandshakeStream
virtual void SetConnectionReused() OVERRIDE;
virtual bool IsConnectionReusable() const OVERRIDE;
virtual int64 GetTotalReceivedBytes() const OVERRIDE;
+ virtual int64 GetReceivedBodyLength() const OVERRIDE;
virtual bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const
OVERRIDE;
virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE;
@@ -65,6 +66,9 @@ class NET_EXPORT_PRIVATE WebSocketBasicHandshakeStream
virtual bool IsSpdyHttpStream() const OVERRIDE;
virtual void Drain(HttpNetworkSession* session) OVERRIDE;
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 len) OVERRIDE;
// This is called from the top level once correct handshake response headers
// have been received. It creates an appropriate subclass of WebSocketStream

Powered by Google App Engine
This is Rietveld 408576698