Index: net/http/http_network_transaction.h |
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h |
index ed4597d94fae9940384f14bf957581e22efd452e..fef1a8a0f01a8518f998778e6d78b5578c3e6df3 100644 |
--- a/net/http/http_network_transaction.h |
+++ b/net/http/http_network_transaction.h |
@@ -5,6 +5,8 @@ |
#ifndef NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
#define NET_HTTP_HTTP_NETWORK_TRANSACTION_H_ |
+#include <stdint.h> |
+ |
#include <string> |
#include "base/basictypes.h" |
@@ -63,6 +65,7 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction |
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; |
@@ -322,6 +325,9 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction |
// Total number of bytes received on streams for this transaction. |
int64 total_received_bytes_; |
+ // Total number of bytes sent on streams for this transaction. |
mmenke
2015/09/04 15:21:48
These comments aren't accurate - it's actually the
sclittle
2015/09/04 22:03:10
Done.
|
+ int64_t total_sent_bytes_; |
+ |
// When the transaction started / finished sending the request, including |
// the body, if present. |
base::TimeTicks send_start_time_; |