summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/ipc_channel.h')
-rw-r--r--ipc/ipc_channel.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/ipc/ipc_channel.h b/ipc/ipc_channel.h
index 3724e56..8bb35c4 100644
--- a/ipc/ipc_channel.h
+++ b/ipc/ipc_channel.h
@@ -94,14 +94,12 @@ class IPC_EXPORT Channel : public Message::Sender {
#endif
};
- enum {
- // The maximum message size in bytes. Attempting to receive a
- // message of this size or bigger results in a channel error.
- kMaximumMessageSize = 128 * 1024 * 1024,
+ // The maximum message size in bytes. Attempting to receive a message of this
+ // size or bigger results in a channel error.
+ static const size_t kMaximumMessageSize = 128 * 1024 * 1024;
- // Ammount of data to read at once from the pipe.
- kReadBufferSize = 4 * 1024
- };
+ // Ammount of data to read at once from the pipe.
+ static const size_t kReadBufferSize = 4 * 1024;
// Initialize a Channel.
//