| Index: net/http/http_response_body_drainer_unittest.cc
|
| diff --git a/net/http/http_response_body_drainer_unittest.cc b/net/http/http_response_body_drainer_unittest.cc
|
| index 42efa57f919e1923042c95188f34a76202c70bd1..33ea716edf2d1aaf7b512d8c6158f339506d2686 100644
|
| --- a/net/http/http_response_body_drainer_unittest.cc
|
| +++ b/net/http/http_response_body_drainer_unittest.cc
|
| @@ -99,6 +99,7 @@ class MockHttpStream : public HttpStream {
|
| 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 void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE {}
|
| virtual void GetSSLCertRequestInfo(
|
| SSLCertRequestInfo* cert_request_info) OVERRIDE {}
|
| @@ -127,6 +128,12 @@ class MockHttpStream : 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 len) OVERRIDE {}
|
| +
|
| +
|
| // Methods to tweak/observer mock behavior:
|
| void set_stall_reads_forever() { stall_reads_forever_ = true; }
|
|
|
|
|