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

Side by Side Diff: ipc/ipc_test_messages.h

Issue 1397023002: ipc: Write end-to-end tests for SharedMemoryHandle brokering on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: More Win compile errors. Created 5 years, 2 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 | « ipc/ipc_test_base.h ('k') | ipc/test_util_mac.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // Multiply-included file, no traditional include guard.
5 #include "build/build_config.h" 6 #include "build/build_config.h"
6 7
8 #include "ipc/ipc_message_macros.h"
9 #define IPC_MESSAGE_START IPCTestMsgStart
10
7 #if defined(OS_WIN) 11 #if defined(OS_WIN)
8 #include "ipc/handle_win.h" 12 #include "ipc/handle_win.h"
9 #include "ipc/ipc_message_macros.h"
10 #define IPC_MESSAGE_START IPCTestMsgStart
11 13
12 IPC_MESSAGE_CONTROL3(TestHandleWinMsg, int, IPC::HandleWin, int) 14 IPC_MESSAGE_CONTROL3(TestHandleWinMsg, int, IPC::HandleWin, int)
13 IPC_MESSAGE_CONTROL2(TestTwoHandleWinMsg, IPC::HandleWin, IPC::HandleWin) 15 IPC_MESSAGE_CONTROL2(TestTwoHandleWinMsg, IPC::HandleWin, IPC::HandleWin)
14 #endif // defined(OS_WIN) 16 #endif // defined(OS_WIN)
17
18 #if defined(OS_MACOSX)
19 #include "base/file_descriptor_posix.h"
20 #include "base/memory/shared_memory_handle.h"
21
22 IPC_MESSAGE_CONTROL3(TestSharedMemoryHandleMsg1,
23 int,
24 base::SharedMemoryHandle,
25 int)
26 IPC_MESSAGE_CONTROL2(TestSharedMemoryHandleMsg2,
27 base::SharedMemoryHandle,
28 base::SharedMemoryHandle)
29 IPC_MESSAGE_CONTROL4(TestSharedMemoryHandleMsg3,
30 base::FileDescriptor,
31 base::SharedMemoryHandle,
32 base::FileDescriptor,
33 base::SharedMemoryHandle)
34 #endif // defined(OS_MACOSX)
OLDNEW
« no previous file with comments | « ipc/ipc_test_base.h ('k') | ipc/test_util_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698