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

Side by Side Diff: ipc/mojo/ipc_mojo_perftest.cc

Issue 621153003: Move mojo edk into mojo/edk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix checkdeps Created 6 years, 2 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 | « ipc/mojo/ipc_mojo_bootstrap.cc ('k') | ipc/mojo/run_all_unittests.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 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 "base/lazy_instance.h" 5 #include "base/lazy_instance.h"
6 #include "ipc/ipc_perftest_support.h" 6 #include "ipc/ipc_perftest_support.h"
7 #include "ipc/mojo/ipc_channel_mojo.h" 7 #include "ipc/mojo/ipc_channel_mojo.h"
8 #include "ipc/mojo/ipc_channel_mojo_host.h" 8 #include "ipc/mojo/ipc_channel_mojo_host.h"
9 #include "mojo/embedder/test_embedder.h" 9 #include "mojo/edk/embedder/test_embedder.h"
10 10
11 namespace { 11 namespace {
12 12
13 // This is needed because we rely on //base/test:test_support_perf and 13 // This is needed because we rely on //base/test:test_support_perf and
14 // it provides main() which doesn't have Mojo initialization. We need 14 // it provides main() which doesn't have Mojo initialization. We need
15 // some way to call InitWithSimplePlatformSupport() only once before 15 // some way to call InitWithSimplePlatformSupport() only once before
16 // using Mojo. 16 // using Mojo.
17 struct MojoInitialier { 17 struct MojoInitialier {
18 MojoInitialier() { 18 MojoInitialier() {
19 mojo::embedder::test::InitWithSimplePlatformSupport(); 19 mojo::embedder::test::InitWithSimplePlatformSupport();
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 IPC::Channel::MODE_CLIENT, 89 IPC::Channel::MODE_CLIENT,
90 listener)); 90 listener));
91 } 91 }
92 92
93 MULTIPROCESS_IPC_TEST_CLIENT_MAIN(PerformanceClient) { 93 MULTIPROCESS_IPC_TEST_CLIENT_MAIN(PerformanceClient) {
94 MojoTestClient client; 94 MojoTestClient client;
95 return client.RunMain(); 95 return client.RunMain();
96 } 96 }
97 97
98 } // namespace 98 } // namespace
OLDNEW
« no previous file with comments | « ipc/mojo/ipc_mojo_bootstrap.cc ('k') | ipc/mojo/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698