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

Unified Diff: net/http/http_stream_factory_impl_unittest.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/http/http_stream_factory_impl_unittest.cc
diff --git a/net/http/http_stream_factory_impl_unittest.cc b/net/http/http_stream_factory_impl_unittest.cc
index 3bf73964eb7a5f266aaa7450fe32834e1901b430..be4416abaa029189220b100fcbc3c46505e3e8bb 100644
--- a/net/http/http_stream_factory_impl_unittest.cc
+++ b/net/http/http_stream_factory_impl_unittest.cc
@@ -85,6 +85,8 @@ class MockWebSocketHandshakeStream : public WebSocketHandshakeStreamBase {
virtual void SetConnectionReused() OVERRIDE {}
virtual bool IsConnectionReusable() const OVERRIDE { return false; }
virtual int64 GetTotalReceivedBytes() const OVERRIDE { return 0; }
+ virtual int64 GetReceivedBodyLength() const OVERRIDE { return 0; }
+
virtual bool GetLoadTimingInfo(LoadTimingInfo* load_timing_info) const
OVERRIDE {
return false;
@@ -95,6 +97,9 @@ class MockWebSocketHandshakeStream : public WebSocketHandshakeStreamBase {
virtual bool IsSpdyHttpStream() const OVERRIDE { return false; }
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 {}
virtual scoped_ptr<WebSocketStream> Upgrade() OVERRIDE {
return scoped_ptr<WebSocketStream>();

Powered by Google App Engine
This is Rietveld 408576698