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 <stddef.h> | 5 #include <stddef.h> |
6 #include <memory> | 6 #include <memory> |
7 | 7 |
8 #include "base/memory/ptr_util.h" | 8 #include "base/memory/ptr_util.h" |
9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
10 #include "base/threading/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "ipc/ipc_channel_mojo.h" |
12 #include "ipc/ipc_perftest_support.h" | 13 #include "ipc/ipc_perftest_support.h" |
13 #include "ipc/mojo/ipc_channel_mojo.h" | |
14 #include "mojo/edk/embedder/embedder.h" | 14 #include "mojo/edk/embedder/embedder.h" |
15 #include "mojo/edk/embedder/platform_channel_pair.h" | 15 #include "mojo/edk/embedder/platform_channel_pair.h" |
16 #include "mojo/edk/test/multiprocess_test_helper.h" | 16 #include "mojo/edk/test/multiprocess_test_helper.h" |
17 #include "mojo/edk/test/scoped_ipc_support.h" | 17 #include "mojo/edk/test/scoped_ipc_support.h" |
18 | 18 |
19 namespace IPC { | 19 namespace IPC { |
20 namespace { | 20 namespace { |
21 | 21 |
22 class MojoChannelPerfTest : public test::IPCChannelPerfTestBase { | 22 class MojoChannelPerfTest : public test::IPCChannelPerfTestBase { |
23 public: | 23 public: |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 base::Bind(&MojoPerfTestClient::Run, base::Unretained(&client))); | 110 base::Bind(&MojoPerfTestClient::Run, base::Unretained(&client))); |
111 | 111 |
112 base::RunLoop run_loop; | 112 base::RunLoop run_loop; |
113 run_loop.RunUntilIdle(); | 113 run_loop.RunUntilIdle(); |
114 | 114 |
115 return rv; | 115 return rv; |
116 } | 116 } |
117 | 117 |
118 } // namespace | 118 } // namespace |
119 } // namespace IPC | 119 } // namespace IPC |
OLD | NEW |