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

Unified Diff: base/trace_event/process_memory_maps.h

Issue 1546033002: Switch to standard integer types in base/trace_event/. (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 | « base/trace_event/process_memory_dump_unittest.cc ('k') | base/trace_event/process_memory_maps.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/process_memory_maps.h
diff --git a/base/trace_event/process_memory_maps.h b/base/trace_event/process_memory_maps.h
index b06a85037a57a2a917b5b1110bcda70202d45381..3dfcc0c988beaf0bc879b8da5c35366e807c119a 100644
--- a/base/trace_event/process_memory_maps.h
+++ b/base/trace_event/process_memory_maps.h
@@ -5,11 +5,13 @@
#ifndef BASE_TRACE_EVENT_PROCESS_MEMORY_MAPS_H_
#define BASE_TRACE_EVENT_PROCESS_MEMORY_MAPS_H_
+#include <stdint.h>
+
#include <string>
#include <vector>
#include "base/base_export.h"
-#include "base/basictypes.h"
+#include "base/macros.h"
namespace base {
namespace trace_event {
@@ -20,28 +22,28 @@ class TracedValue;
class BASE_EXPORT ProcessMemoryMaps {
public:
struct BASE_EXPORT VMRegion {
- static const uint32 kProtectionFlagsRead;
- static const uint32 kProtectionFlagsWrite;
- static const uint32 kProtectionFlagsExec;
+ static const uint32_t kProtectionFlagsRead;
+ static const uint32_t kProtectionFlagsWrite;
+ static const uint32_t kProtectionFlagsExec;
VMRegion();
- uint64 start_address;
- uint64 size_in_bytes;
- uint32 protection_flags;
+ uint64_t start_address;
+ uint64_t size_in_bytes;
+ uint32_t protection_flags;
std::string mapped_file;
// private_dirty_resident + private_clean_resident + shared_dirty_resident +
// shared_clean_resident = resident set size.
- uint64 byte_stats_private_dirty_resident;
- uint64 byte_stats_private_clean_resident;
- uint64 byte_stats_shared_dirty_resident;
- uint64 byte_stats_shared_clean_resident;
+ uint64_t byte_stats_private_dirty_resident;
+ uint64_t byte_stats_private_clean_resident;
+ uint64_t byte_stats_shared_dirty_resident;
+ uint64_t byte_stats_shared_clean_resident;
- uint64 byte_stats_swapped;
+ uint64_t byte_stats_swapped;
// For multiprocess accounting.
- uint64 byte_stats_proportional_resident;
+ uint64_t byte_stats_proportional_resident;
};
ProcessMemoryMaps();
« no previous file with comments | « base/trace_event/process_memory_dump_unittest.cc ('k') | base/trace_event/process_memory_maps.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698