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

Unified Diff: ipc/ipc_channel.h

Issue 1331673002: ipc: Convert k(u)int*max types from basictypes.h to std::numeric_limits variants. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win? 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
« no previous file with comments | « no previous file | ipc/ipc_fuzzing_tests.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 c74d084baac5a23099037e49594acbd594862c1b..701ab41eef3ab2194b82ad8ebdb119a74dcf6ed3 100644
--- a/ipc/ipc_channel.h
+++ b/ipc/ipc_channel.h
@@ -5,6 +5,8 @@
#ifndef IPC_IPC_CHANNEL_H_
#define IPC_IPC_CHANNEL_H_
+#include <stdint.h>
+
#include <string>
#if defined(OS_POSIX)
@@ -79,7 +81,7 @@ class IPC_EXPORT Channel : public Endpoint {
// The message contains just the process id (pid).
// The message has a special routing_id (MSG_ROUTING_NONE)
// and type (HELLO_MESSAGE_TYPE).
- HELLO_MESSAGE_TYPE = kuint16max,
+ HELLO_MESSAGE_TYPE = UINT16_MAX,
// The CLOSE_FD_MESSAGE_TYPE is used in the IPC class to
// work around a bug in sendmsg() on Mac. When an FD is sent
// over the socket, a CLOSE_FD_MESSAGE is sent with hops = 2.
« no previous file with comments | « no previous file | ipc/ipc_fuzzing_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698