Index: net/http/failing_http_transaction_factory.cc |
diff --git a/net/http/failing_http_transaction_factory.cc b/net/http/failing_http_transaction_factory.cc |
index 89e5329d5d99bece047b8e9823dd4e4219c49122..9603b7aa49007cfbb2f7a9ef1c193ccff4b409a1 100644 |
--- a/net/http/failing_http_transaction_factory.cc |
+++ b/net/http/failing_http_transaction_factory.cc |
@@ -4,6 +4,8 @@ |
#include "net/http/failing_http_transaction_factory.h" |
+#include <stdint.h> |
+ |
#include "base/bind.h" |
#include "base/compiler_specific.h" |
#include "base/location.h" |
@@ -49,6 +51,7 @@ class FailingHttpTransaction : public HttpTransaction { |
void StopCaching() override; |
bool GetFullRequestHeaders(HttpRequestHeaders* headers) const override; |
int64 GetTotalReceivedBytes() const override; |
+ int64_t GetTotalSentBytes() const override; |
void DoneReading() override; |
const HttpResponseInfo* GetResponseInfo() const override; |
LoadState GetLoadState() const override; |
@@ -122,6 +125,10 @@ int64 FailingHttpTransaction::GetTotalReceivedBytes() const { |
return 0; |
} |
+int64_t FailingHttpTransaction::GetTotalSentBytes() const { |
+ return 0; |
+} |
+ |
void FailingHttpTransaction::DoneReading() { |
NOTREACHED(); |
} |