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

Unified Diff: ipc/ipc_channel.h

Issue 1546533002: Switch to standard integer types in ipc/. (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 | « ipc/brokerable_attachment.cc ('k') | ipc/ipc_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel.h
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h
index 58fc0697546a9682c15fa3a6789628fa252290f7..20c61f11580f26d6542e2de9ef5d97ce847745f2 100644
--- a/ipc/ipc_channel.h
+++ b/ipc/ipc_channel.h
@@ -5,21 +5,23 @@
#ifndef IPC_IPC_CHANNEL_H_
#define IPC_IPC_CHANNEL_H_
+#include <stddef.h>
#include <stdint.h>
#include <string>
-#if defined(OS_POSIX)
-#include <sys/types.h>
-#endif
-
#include "base/compiler_specific.h"
#include "base/files/scoped_file.h"
#include "base/process/process.h"
+#include "build/build_config.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_endpoint.h"
#include "ipc/ipc_message.h"
+#if defined(OS_POSIX)
+#include <sys/types.h>
+#endif
+
namespace IPC {
class Listener;
@@ -73,7 +75,7 @@ class IPC_EXPORT Channel : public Endpoint {
};
// Messages internal to the IPC implementation are defined here.
- // Uses Maximum value of message type (uint16), to avoid conflicting
+ // Uses Maximum value of message type (uint16_t), to avoid conflicting
// with normal message types, which are enumeration constants starting from 0.
enum {
// The Hello message is sent by the peer when the channel is connected.
« no previous file with comments | « ipc/brokerable_attachment.cc ('k') | ipc/ipc_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698