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

Side by Side Diff: chrome/common/ipc_message.h

Issue 21208: POSIX: Transfer network data using shared memory (Closed)
Patch Set: ... Created 11 years, 10 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 unified diff | Download patch
« no previous file with comments | « chrome/common/ipc_channel_posix.cc ('k') | chrome/common/ipc_message_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_IPC_MESSAGE_H__ 5 #ifndef CHROME_COMMON_IPC_MESSAGE_H__
6 #define CHROME_COMMON_IPC_MESSAGE_H__ 6 #define CHROME_COMMON_IPC_MESSAGE_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/pickle.h" 11 #include "base/pickle.h"
12 #include "testing/gtest/include/gtest/gtest_prod.h" 12 #include "testing/gtest/include/gtest/gtest_prod.h"
13 13
14 #if defined(OS_WIN) 14 #if defined(OS_WIN)
15 // TODO(port): IPC message logging hasn't been ported to other platforms yet. 15 // TODO(port): IPC message logging hasn't been ported to other platforms yet.
16 #ifndef NDEBUG 16 #ifndef NDEBUG
17 #define IPC_MESSAGE_LOG_ENABLED 17 #define IPC_MESSAGE_LOG_ENABLED
18 #endif 18 #endif
19 #elif defined(OS_POSIX) 19 #elif defined(OS_POSIX)
20 #include "chrome/common/file_descriptor_posix.h" 20 #include "chrome/common/descriptor_set_posix.h"
21 #endif 21 #endif
22 22
23 namespace IPC { 23 namespace IPC {
24 24
25 //------------------------------------------------------------------------------ 25 //------------------------------------------------------------------------------
26 26
27 class Channel; 27 class Channel;
28 class Message; 28 class Message;
29 struct LogData; 29 struct LogData;
30 30
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 249
250 // indicates a general message not sent to a particular tab. 250 // indicates a general message not sent to a particular tab.
251 MSG_ROUTING_CONTROL = kint32max, 251 MSG_ROUTING_CONTROL = kint32max,
252 }; 252 };
253 253
254 #define IPC_REPLY_ID 0xFFF0 // Special message id for replies 254 #define IPC_REPLY_ID 0xFFF0 // Special message id for replies
255 #define IPC_LOGGING_ID 0xFFF1 // Special message id for logging 255 #define IPC_LOGGING_ID 0xFFF1 // Special message id for logging
256 256
257 #endif // CHROME_COMMON_IPC_MESSAGE_H__ 257 #endif // CHROME_COMMON_IPC_MESSAGE_H__
258 258
OLDNEW
« no previous file with comments | « chrome/common/ipc_channel_posix.cc ('k') | chrome/common/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698