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

Unified Diff: components/nacl/common/nacl_messages.h

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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 | « components/nacl/common/nacl_host_messages.h ('k') | components/nacl/common/nacl_paths.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/common/nacl_messages.h
diff --git a/components/nacl/common/nacl_messages.h b/components/nacl/common/nacl_messages.h
index 2e3ce628c5706b8b51d118684e0e8dbc0e93ab31..9598d0d5acfa6518bc542c107bb40557bcc6378b 100644
--- a/components/nacl/common/nacl_messages.h
+++ b/components/nacl/common/nacl_messages.h
@@ -5,7 +5,11 @@
// Defines messages between the browser and NaCl process.
// Multiply-included message file, no traditional include guard.
+
+#include <stdint.h>
+
#include "base/process/process.h"
+#include "build/build_config.h"
#include "components/nacl/common/nacl_types.h"
#include "components/nacl/common/nacl_types_param_traits.h"
#include "ipc/ipc_channel_handle.h"
@@ -72,7 +76,7 @@ IPC_MESSAGE_CONTROL2(NaClProcessMsg_LoaderLaunched,
// Tells the NaCl broker to attach a debug exception handler to the
// given NaCl loader process.
IPC_MESSAGE_CONTROL3(NaClProcessMsg_LaunchDebugExceptionHandler,
- int32 /* pid of the NaCl process */,
+ int32_t /* pid of the NaCl process */,
base::ProcessHandle /* handle of the NaCl process */,
std::string /* NaCl internal process layout info */)
@@ -80,7 +84,7 @@ IPC_MESSAGE_CONTROL3(NaClProcessMsg_LaunchDebugExceptionHandler,
// attaching a debug exception handler to the given NaCl loader
// process.
IPC_MESSAGE_CONTROL2(NaClProcessMsg_DebugExceptionHandlerLaunched,
- int32 /* pid */,
+ int32_t /* pid */,
bool /* success */)
// Notify the broker that all loader processes have been terminated and it
@@ -114,11 +118,11 @@ IPC_MESSAGE_CONTROL1(NaClProcessMsg_SetKnownToValidate,
// from the browser, including the file's path as well as a fresh version of the
// file handle.
IPC_MESSAGE_CONTROL2(NaClProcessMsg_ResolveFileToken,
- uint64, /* file_token_lo */
- uint64 /* file_token_hi */)
+ uint64_t, /* file_token_lo */
+ uint64_t /* file_token_hi */)
IPC_MESSAGE_CONTROL4(NaClProcessMsg_ResolveFileTokenReply,
- uint64, /* file_token_lo */
- uint64, /* file_token_hi */
+ uint64_t, /* file_token_lo */
+ uint64_t, /* file_token_hi */
IPC::PlatformFileForTransit, /* fd */
base::FilePath /* Path opened to get fd */)
« no previous file with comments | « components/nacl/common/nacl_host_messages.h ('k') | components/nacl/common/nacl_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698