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

Unified Diff: chrome/browser/process_info_snapshot_mac.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 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
« no previous file with comments | « chrome/browser/process_info_snapshot.h ('k') | chrome/browser/process_info_snapshot_mac_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/process_info_snapshot_mac.cc
diff --git a/chrome/browser/process_info_snapshot_mac.cc b/chrome/browser/process_info_snapshot_mac.cc
index f2a001989a9db516fc855ac7b33f1d3ad27c9468..7bfadc8824c250f06a6fb45908995c377961011f 100644
--- a/chrome/browser/process_info_snapshot_mac.cc
+++ b/chrome/browser/process_info_snapshot_mac.cc
@@ -4,6 +4,8 @@
#include "chrome/browser/process_info_snapshot.h"
+#include <stddef.h>
+#include <stdint.h>
#include <sys/sysctl.h>
#include <sstream>
@@ -12,6 +14,7 @@
#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/mac/mac_util.h"
+#include "base/macros.h"
#include "base/process/launch.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
@@ -139,7 +142,7 @@ static bool GetProcessMemoryInfoUsingPS(
for (std::vector<base::ProcessId>::const_iterator it = pid_list.begin();
it != pid_list.end(); ++it) {
command_line.AppendArg("-p");
- command_line.AppendArg(base::Int64ToString(static_cast<int64>(*it)));
+ command_line.AppendArg(base::Int64ToString(static_cast<int64_t>(*it)));
}
std::string output;
« no previous file with comments | « chrome/browser/process_info_snapshot.h ('k') | chrome/browser/process_info_snapshot_mac_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698