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

Side by Side Diff: ipc/ipc_test_base.h

Issue 2633053002: Remove the MessageLoop::DestructionObserver from mojo bindings. (Closed)
Patch Set: rebase Created 3 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 | « gpu/ipc/service/gpu_channel_manager.cc ('k') | mojo/android/system/watcher_impl.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 IPC_IPC_TEST_BASE_H_ 5 #ifndef IPC_IPC_TEST_BASE_H_
6 #define IPC_IPC_TEST_BASE_H_ 6 #define IPC_IPC_TEST_BASE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/message_loop/message_loop.h"
12 #include "base/process/process.h" 13 #include "base/process/process.h"
13 #include "base/test/multiprocess_test.h" 14 #include "base/test/multiprocess_test.h"
14 #include "build/build_config.h" 15 #include "build/build_config.h"
15 #include "ipc/ipc_channel.h" 16 #include "ipc/ipc_channel.h"
16 #include "ipc/ipc_channel_factory.h" 17 #include "ipc/ipc_channel_factory.h"
17 #include "ipc/ipc_channel_proxy.h" 18 #include "ipc/ipc_channel_proxy.h"
18 #include "mojo/edk/test/mojo_test_base.h" 19 #include "mojo/edk/test/mojo_test_base.h"
19 #include "mojo/edk/test/multiprocess_test_helper.h" 20 #include "mojo/edk/test/multiprocess_test_helper.h"
20 21
21 namespace base { 22 namespace base {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 : 0; \ 102 : 0; \
102 } \ 103 } \
103 void client_name##_MainFixture::Main() 104 void client_name##_MainFixture::Main()
104 105
105 // Use this to declare the client side for tests using IPCChannelMojoTestBase. 106 // Use this to declare the client side for tests using IPCChannelMojoTestBase.
106 #define DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT(client_name) \ 107 #define DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT(client_name) \
107 DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT_WITH_CUSTOM_FIXTURE( \ 108 DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT_WITH_CUSTOM_FIXTURE( \
108 client_name, IpcChannelMojoTestClient) 109 client_name, IpcChannelMojoTestClient)
109 110
110 #endif // IPC_IPC_TEST_BASE_H_ 111 #endif // IPC_IPC_TEST_BASE_H_
OLDNEW
« no previous file with comments | « gpu/ipc/service/gpu_channel_manager.cc ('k') | mojo/android/system/watcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698