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

Unified Diff: tools/ipc_fuzzer/message_lib/message_file_format.h

Issue 1549203002: Switch to standard integer types in tools/. (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 | « tools/ipc_fuzzer/message_lib/message_file.h ('k') | tools/ipc_fuzzer/message_lib/message_file_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/message_lib/message_file_format.h
diff --git a/tools/ipc_fuzzer/message_lib/message_file_format.h b/tools/ipc_fuzzer/message_lib/message_file_format.h
index 389d285fe08ccd47433f51c476f797bf62f7152e..fb39d05f12f7733e9b5771b9d0294b9955e88c44 100644
--- a/tools/ipc_fuzzer/message_lib/message_file_format.h
+++ b/tools/ipc_fuzzer/message_lib/message_file_format.h
@@ -5,7 +5,7 @@
#ifndef TOOLS_IPC_FUZZER_MESSAGE_LIB_MESSAGE_FILE_FORMAT_H_
#define TOOLS_IPC_FUZZER_MESSAGE_LIB_MESSAGE_FILE_FORMAT_H_
-#include "base/basictypes.h"
+#include <stdint.h>
// Message file contains IPC messages and message names. Each message type
// has a NameTableEntry mapping the type to a name.
@@ -44,18 +44,18 @@
namespace ipc_fuzzer {
struct FileHeader {
- static const uint32 kMagicValue = 0x1bcf11ee;
- static const uint32 kCurrentVersion = 1;
+ static const uint32_t kMagicValue = 0x1bcf11ee;
+ static const uint32_t kCurrentVersion = 1;
- uint32 magic;
- uint32 version;
- uint32 message_count;
- uint32 name_count;
+ uint32_t magic;
+ uint32_t version;
+ uint32_t message_count;
+ uint32_t name_count;
};
struct NameTableEntry {
- uint32 type;
- uint32 string_table_offset;
+ uint32_t type;
+ uint32_t string_table_offset;
};
} // namespace ipc_fuzzer
« no previous file with comments | « tools/ipc_fuzzer/message_lib/message_file.h ('k') | tools/ipc_fuzzer/message_lib/message_file_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698