Index: net/http/http_transaction_test_util.h |
diff --git a/net/http/http_transaction_test_util.h b/net/http/http_transaction_test_util.h |
index 52b38e845decee9b81b9ba93d0b43645f09b09d7..de95e3da4123bf33b12f02a2009867598f6cf604 100644 |
--- a/net/http/http_transaction_test_util.h |
+++ b/net/http/http_transaction_test_util.h |
@@ -7,6 +7,8 @@ |
#include "net/http/http_transaction.h" |
+#include <stdint.h> |
+ |
#include <string> |
#include "base/callback.h" |
@@ -197,6 +199,8 @@ class MockNetworkTransaction |
int64 GetTotalReceivedBytes() const override; |
+ int64_t GetTotalSentBytes() const override; |
+ |
void DoneReading() override; |
const HttpResponseInfo* GetResponseInfo() const override; |
@@ -246,6 +250,7 @@ class MockNetworkTransaction |
CreateHelper* websocket_handshake_stream_create_helper_; |
base::WeakPtr<MockNetworkLayer> transaction_factory_; |
int64 received_bytes_; |
+ int64_t sent_bytes_; |
// NetLog ID of the fake / non-existent underlying socket used by the |
// connection. Requires Start() be passed a BoundNetLog with a real NetLog to |