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

Unified Diff: components/crash/content/browser/crash_dump_manager_android.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: components/crash/content/browser/crash_dump_manager_android.cc
diff --git a/components/crash/content/browser/crash_dump_manager_android.cc b/components/crash/content/browser/crash_dump_manager_android.cc
index 4c8174d17374e7bb43f73b12edf47ddf4be0a3d7..a21a894a6851682b5afaa4fa1eab82dee5cb251d 100644
--- a/components/crash/content/browser/crash_dump_manager_android.cc
+++ b/components/crash/content/browser/crash_dump_manager_android.cc
@@ -4,6 +4,8 @@
#include "components/crash/content/browser/crash_dump_manager_android.h"
+#include <stdint.h>
+
#include "base/bind.h"
#include "base/files/file_util.h"
#include "base/format_macros.h"
@@ -90,7 +92,7 @@ void CrashDumpManager::ProcessMinidump(
base::android::ApplicationState app_state) {
DCHECK_CURRENTLY_ON(BrowserThread::FILE);
CHECK(instance_);
- int64 file_size = 0;
+ int64_t file_size = 0;
int r = base::GetFileSize(minidump_path, &file_size);
DCHECK(r) << "Failed to retrieve size for minidump "
<< minidump_path.value();
@@ -147,7 +149,7 @@ void CrashDumpManager::ProcessMinidump(
NOTREACHED() << "Failed to retrieve the crash dump directory.";
return;
}
- const uint64 rand = base::RandUint64();
+ const uint64_t rand = base::RandUint64();
const std::string filename =
base::StringPrintf("chromium-renderer-minidump-%016" PRIx64 ".dmp%d",
rand, pid);

Powered by Google App Engine
This is Rietveld 408576698