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

Side by Side Diff: ipc/ipc_multiprocess_test.h

Issue 10387218: Make GlobalDescriptors::MaybeGet return -1 when the key is not found. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor clean-up. Created 8 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IPC_IPC_MULTIPROCESS_TEST_H_
6 #define IPC_IPC_MULTIPROCESS_TEST_H_
7 #pragma once
8
9 #include "base/test/multiprocess_test.h"
10
11 // Use this macro when your sub-process is using an IPCChannel to communicate
12 // with the test process.
13 // See comment below for MultiProcessTestIPCSetUp() on why this is needed.
14 #define MULTIPROCESS_IPC_TEST_MAIN(test_main) \
15 MULTIPROCESS_TEST_MAIN_WITH_SETUP(test_main, MultiProcessTestIPCSetUp)
16
17 // Setup function used by MULTIPROCESS_IPC_TEST_MAIN.
18 // Registers the IPC channel as a global descriptor in the child process. This
19 // is needed on Posix as the IPCChannel when created looks for a specific global
jeremy 2012/06/24 13:49:37 nit: capitalize POSIX
Jay Civelli 2012/06/25 17:49:56 Done.
20 // descriptor to establish the connection to the parent process.
21 void MultiProcessTestIPCSetUp();
22
23 #endif // IPC_IPC_MULTIPROCESS_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698