Index: ipc/ipc_logging.h |
diff --git a/ipc/ipc_logging.h b/ipc/ipc_logging.h |
index f730b6ae3e2b6dcdb6866d67354b4673cb29c829..81315f7c685e0ad6c7e2421343b00567613445b5 100644 |
--- a/ipc/ipc_logging.h |
+++ b/ipc/ipc_logging.h |
@@ -5,6 +5,8 @@ |
#ifndef IPC_IPC_LOGGING_H_ |
#define IPC_IPC_LOGGING_H_ |
+#include <stdint.h> |
+ |
#include "ipc/ipc_message.h" // For IPC_MESSAGE_LOG_ENABLED. |
#ifdef IPC_MESSAGE_LOG_ENABLED |
@@ -23,7 +25,7 @@ typedef void (*LogFunction)(std::string* name, |
const IPC::Message* msg, |
std::string* params); |
-typedef base::hash_map<uint32, LogFunction > LogFunctionMap; |
+typedef base::hash_map<uint32_t, LogFunction > LogFunctionMap; |
namespace IPC { |
@@ -73,7 +75,7 @@ class IPC_EXPORT Logging { |
// Like the *MsgLog functions declared for each message class, except this |
// calls the correct one based on the message type automatically. Defined in |
// ipc_logging.cc. |
- static void GetMessageText(uint32 type, std::string* name, |
+ static void GetMessageText(uint32_t type, std::string* name, |
const Message* message, std::string* params); |
static void set_log_function_map(LogFunctionMap* functions) { |