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

Unified Diff: ipc/ipc_logging.h

Issue 1322253003: ipc: Convert int types from basictypes.h to the ones from stdint.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months 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
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) {

Powered by Google App Engine
This is Rietveld 408576698