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

Unified Diff: net/websockets/websocket_basic_handshake_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/websockets/websocket_basic_handshake_stream.cc
diff --git a/net/websockets/websocket_basic_handshake_stream.cc b/net/websockets/websocket_basic_handshake_stream.cc
index f61885bac176da8bc7aea832021f6ccbcd2e306c..0c76365398b481a6444c52952958d4f8c70eeeb6 100644
--- a/net/websockets/websocket_basic_handshake_stream.cc
+++ b/net/websockets/websocket_basic_handshake_stream.cc
@@ -471,6 +471,10 @@ int64 WebSocketBasicHandshakeStream::GetTotalReceivedBytes() const {
return 0;
}
+int64 WebSocketBasicHandshakeStream::GetReceivedBodyLength() const {
+ return 0;
+}
+
bool WebSocketBasicHandshakeStream::GetLoadTimingInfo(
LoadTimingInfo* load_timing_info) const {
return state_.connection()->GetLoadTimingInfo(IsConnectionReused(),
@@ -499,6 +503,15 @@ void WebSocketBasicHandshakeStream::SetPriority(RequestPriority priority) {
// gone, then copy whatever has happened there over here.
}
+void WebSocketBasicHandshakeStream::SetRestartInfo(int64 read_offset,
+ const void* hash, size_t hash_length) {
+ // Nothing to do here.
+}
+
+void WebSocketBasicHandshakeStream::GetHash(void* output, size_t len) {
+ // Nothing to do here.
+}
+
scoped_ptr<WebSocketStream> WebSocketBasicHandshakeStream::Upgrade() {
// The HttpStreamParser object has a pointer to our ClientSocketHandle. Make
// sure it does not touch it again before it is destroyed.
« net/spdy/spdy_http_stream.cc ('K') | « net/websockets/websocket_basic_handshake_stream.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698