Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(887)

Unified Diff: net/http/http_network_transaction.cc

Issue 1316863007: Change GetTotalReceivedBytes() from int64 to int64_t. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased on master Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_network_transaction.h ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.cc
diff --git a/net/http/http_network_transaction.cc b/net/http/http_network_transaction.cc
index bbe48b2f9aa6ac1a76898aa73556f368e0600bbf..f060cd7485dff317ec198c842d3a22b412888531 100644
--- a/net/http/http_network_transaction.cc
+++ b/net/http/http_network_transaction.cc
@@ -387,8 +387,8 @@ bool HttpNetworkTransaction::GetFullRequestHeaders(
return true;
}
-int64 HttpNetworkTransaction::GetTotalReceivedBytes() const {
- int64 total_received_bytes = total_received_bytes_;
+int64_t HttpNetworkTransaction::GetTotalReceivedBytes() const {
+ int64_t total_received_bytes = total_received_bytes_;
if (stream_)
total_received_bytes += stream_->GetTotalReceivedBytes();
return total_received_bytes;
« no previous file with comments | « net/http/http_network_transaction.h ('k') | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698