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

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

Issue 1546533002: Switch to standard integer types in ipc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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_handle_attachment.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 <stddef.h>
6
5 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
6 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "build/build_config.h"
7 #include "ipc/ipc_perftest_support.h" 10 #include "ipc/ipc_perftest_support.h"
8 #include "ipc/mojo/ipc_channel_mojo.h" 11 #include "ipc/mojo/ipc_channel_mojo.h"
9 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h" 12 #include "third_party/mojo/src/mojo/edk/embedder/embedder.h"
10 #include "third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h" 13 #include "third_party/mojo/src/mojo/edk/embedder/platform_channel_pair.h"
11 14
12 namespace { 15 namespace {
13 16
14 // This is needed because we rely on //base/test:test_support_perf and 17 // This is needed because we rely on //base/test:test_support_perf and
15 // it provides main() which doesn't have Mojo initialization. We need 18 // it provides main() which doesn't have Mojo initialization. We need
16 // some way to call Init() only once before using Mojo. 19 // some way to call Init() only once before using Mojo.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 MojoTestClient client; 106 MojoTestClient client;
104 int rv = client.RunMain(); 107 int rv = client.RunMain();
105 108
106 base::RunLoop run_loop; 109 base::RunLoop run_loop;
107 run_loop.RunUntilIdle(); 110 run_loop.RunUntilIdle();
108 111
109 return rv; 112 return rv;
110 } 113 }
111 114
112 } // namespace 115 } // namespace
OLDNEW
« no previous file with comments | « ipc/mojo/ipc_mojo_handle_attachment.cc ('k') | ipc/mojo/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698