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> |
| 8 #include <stdint.h> |
| 9 |
7 #include "base/pickle.h" | 10 #include "base/pickle.h" |
8 #include "base/threading/thread.h" | 11 #include "base/threading/thread.h" |
9 #include "ipc/ipc_message.h" | 12 #include "ipc/ipc_message.h" |
10 #include "ipc/ipc_test_base.h" | 13 #include "ipc/ipc_test_base.h" |
11 #include "ipc/message_filter.h" | 14 #include "ipc/message_filter.h" |
12 | 15 |
13 // Get basic type definitions. | 16 // Get basic type definitions. |
14 #define IPC_MESSAGE_IMPL | 17 #define IPC_MESSAGE_IMPL |
15 #include "ipc/ipc_channel_proxy_unittest_messages.h" | 18 #include "ipc/ipc_channel_proxy_unittest_messages.h" |
16 | 19 |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 scoped_ptr<IPC::Channel> channel(IPC::Channel::CreateClient( | 443 scoped_ptr<IPC::Channel> channel(IPC::Channel::CreateClient( |
441 IPCTestBase::GetChannelName("ChannelProxyClient"), &listener)); | 444 IPCTestBase::GetChannelName("ChannelProxyClient"), &listener)); |
442 CHECK(channel->Connect()); | 445 CHECK(channel->Connect()); |
443 listener.Init(channel.get()); | 446 listener.Init(channel.get()); |
444 | 447 |
445 base::MessageLoop::current()->Run(); | 448 base::MessageLoop::current()->Run(); |
446 return 0; | 449 return 0; |
447 } | 450 } |
448 | 451 |
449 } // namespace | 452 } // namespace |
OLD | NEW |