OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "build/build_config.h" | 5 #include "build/build_config.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
| 11 #include "base/message_loop/message_loop.h" |
11 #include "base/pickle.h" | 12 #include "base/pickle.h" |
12 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
13 #include "base/threading/thread.h" | 14 #include "base/threading/thread.h" |
14 #include "ipc/ipc_message.h" | 15 #include "ipc/ipc_message.h" |
15 #include "ipc/ipc_test_base.h" | 16 #include "ipc/ipc_test_base.h" |
16 #include "ipc/message_filter.h" | 17 #include "ipc/message_filter.h" |
17 | 18 |
18 // Get basic type definitions. | 19 // Get basic type definitions. |
19 #define IPC_MESSAGE_IMPL | 20 #define IPC_MESSAGE_IMPL |
20 #include "ipc/ipc_channel_proxy_unittest_messages.h" | 21 #include "ipc/ipc_channel_proxy_unittest_messages.h" |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT(ChannelProxyClient) { | 426 DEFINE_IPC_CHANNEL_MOJO_TEST_CLIENT(ChannelProxyClient) { |
426 ChannelReflectorListener listener; | 427 ChannelReflectorListener listener; |
427 Connect(&listener); | 428 Connect(&listener); |
428 listener.Init(channel()); | 429 listener.Init(channel()); |
429 | 430 |
430 base::RunLoop().Run(); | 431 base::RunLoop().Run(); |
431 Close(); | 432 Close(); |
432 } | 433 } |
433 | 434 |
434 } // namespace | 435 } // namespace |
OLD | NEW |