Index: net/http/http_transaction.h |
diff --git a/net/http/http_transaction.h b/net/http/http_transaction.h |
index 6b8ea70cb3b679fd1ad1112923819a9869360cc7..b4bc41519b0d0d97b422d63af5b5c82efcc0e11e 100644 |
--- a/net/http/http_transaction.h |
+++ b/net/http/http_transaction.h |
@@ -5,6 +5,8 @@ |
#ifndef NET_HTTP_HTTP_TRANSACTION_H_ |
#define NET_HTTP_HTTP_TRANSACTION_H_ |
+#include <stdint.h> |
+ |
#include "net/base/completion_callback.h" |
#include "net/base/load_states.h" |
#include "net/base/net_export.h" |
@@ -124,6 +126,9 @@ class NET_EXPORT_PRIVATE HttpTransaction { |
// Get the number of bytes received from network. |
virtual int64 GetTotalReceivedBytes() const = 0; |
+ // Get the number of bytes sent over the network. |
+ virtual int64_t GetTotalSentBytes() const = 0; |
+ |
// Called to tell the transaction that we have successfully reached the end |
// of the stream. This is equivalent to performing an extra Read() at the end |
// that should return 0 bytes. This method should not be called if the |