Index: net/url_request/url_request.h |
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h |
index c6ef160e69c4fb2ace304bc27e9af0cbe6c972a9..708b929200011dc0107118e5a39e3b34cf71d287 100644 |
--- a/net/url_request/url_request.h |
+++ b/net/url_request/url_request.h |
@@ -5,6 +5,8 @@ |
#ifndef NET_URL_REQUEST_URL_REQUEST_H_ |
#define NET_URL_REQUEST_URL_REQUEST_H_ |
+#include <stdint.h> |
+ |
#include <string> |
#include <vector> |
@@ -360,6 +362,11 @@ class NET_EXPORT URLRequest : NON_EXPORTED_BASE(public base::NonThreadSafe), |
// URLRequest -- i.e. the last redirect. |
int64 GetTotalReceivedBytes() const; |
+ // Gets the total amount of data sent over the network before SSL encoding and |
+ // proxy handling. Pertains only to the last URLRequestJob issued by this |
+ // URLRequest -- i.e. the last redirect. |
+ int64_t GetTotalSentBytes() const; |
+ |
// Returns the current load state for the request. The returned value's |
// |param| field is an optional parameter describing details related to the |
// load state. Not all load states have a parameter. |