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

Unified Diff: content/browser/download/download_net_log_parameters.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years 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
Index: content/browser/download/download_net_log_parameters.cc
diff --git a/content/browser/download/download_net_log_parameters.cc b/content/browser/download/download_net_log_parameters.cc
index 6aefb821f4da0aee84955543cbb822102f7a979e..ea920af662c47d7f7117d026adecdde1a3a55fe0 100644
--- a/content/browser/download/download_net_log_parameters.cc
+++ b/content/browser/download/download_net_log_parameters.cc
@@ -4,9 +4,9 @@
#include "content/browser/download/download_net_log_parameters.h"
-#include "base/basictypes.h"
#include "base/files/file_path.h"
#include "base/logging.h"
+#include "base/macros.h"
#include "base/strings/string_number_conversions.h"
#include "base/values.h"
#include "content/public/browser/download_interrupt_reasons.h"
@@ -86,7 +86,7 @@ scoped_ptr<base::Value> ItemRenamedNetLogCallback(
scoped_ptr<base::Value> ItemInterruptedNetLogCallback(
DownloadInterruptReason reason,
- int64 bytes_so_far,
+ int64_t bytes_so_far,
const std::string* hash_state,
net::NetLogCaptureMode capture_mode) {
scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
@@ -102,7 +102,7 @@ scoped_ptr<base::Value> ItemInterruptedNetLogCallback(
scoped_ptr<base::Value> ItemResumingNetLogCallback(
bool user_initiated,
DownloadInterruptReason reason,
- int64 bytes_so_far,
+ int64_t bytes_so_far,
const std::string* hash_state,
net::NetLogCaptureMode capture_mode) {
scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
@@ -117,7 +117,7 @@ scoped_ptr<base::Value> ItemResumingNetLogCallback(
}
scoped_ptr<base::Value> ItemCompletingNetLogCallback(
- int64 bytes_so_far,
+ int64_t bytes_so_far,
const std::string* final_hash,
net::NetLogCaptureMode capture_mode) {
scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
@@ -140,7 +140,7 @@ scoped_ptr<base::Value> ItemFinishedNetLogCallback(
}
scoped_ptr<base::Value> ItemCanceledNetLogCallback(
- int64 bytes_so_far,
+ int64_t bytes_so_far,
const std::string* hash_state,
net::NetLogCaptureMode capture_mode) {
scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
@@ -154,7 +154,7 @@ scoped_ptr<base::Value> ItemCanceledNetLogCallback(
scoped_ptr<base::Value> FileOpenedNetLogCallback(
const base::FilePath* file_name,
- int64 start_offset,
+ int64_t start_offset,
net::NetLogCaptureMode capture_mode) {
scoped_ptr<base::DictionaryValue> dict(new base::DictionaryValue());
« no previous file with comments | « content/browser/download/download_net_log_parameters.h ('k') | content/browser/download/download_request_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698