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

Side by Side Diff: mojo/edk/system/message_pipe_perftest.cc

Issue 1483823004: EDK: Move {platform_handle,scoped_platform_handle}.* to //mojo/edk/platform. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years 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 | « mojo/edk/system/message_pipe_dispatcher.cc ('k') | mojo/edk/system/message_pipe_test_utils.h » ('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 <stdint.h> 5 #include <stdint.h>
6 6
7 #include <string> 7 #include <string>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "mojo/edk/embedder/scoped_platform_handle.h" 13 #include "mojo/edk/platform/scoped_platform_handle.h"
14 #include "mojo/edk/system/local_message_pipe_endpoint.h" 14 #include "mojo/edk/system/local_message_pipe_endpoint.h"
15 #include "mojo/edk/system/message_pipe.h" 15 #include "mojo/edk/system/message_pipe.h"
16 #include "mojo/edk/system/message_pipe_test_utils.h" 16 #include "mojo/edk/system/message_pipe_test_utils.h"
17 #include "mojo/edk/system/proxy_message_pipe_endpoint.h" 17 #include "mojo/edk/system/proxy_message_pipe_endpoint.h"
18 #include "mojo/edk/system/test/perf_log.h" 18 #include "mojo/edk/system/test/perf_log.h"
19 #include "mojo/edk/system/test/stopwatch.h" 19 #include "mojo/edk/system/test/stopwatch.h"
20 #include "mojo/edk/test/test_utils.h" 20 #include "mojo/edk/test/test_utils.h"
21 #include "mojo/edk/util/ref_ptr.h" 21 #include "mojo/edk/util/ref_ptr.h"
22 #include "mojo/public/cpp/system/macros.h" 22 #include "mojo/public/cpp/system/macros.h"
23 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
24 24
25 using mojo::embedder::ScopedPlatformHandle; 25 using mojo::platform::ScopedPlatformHandle;
26 using mojo::util::RefPtr; 26 using mojo::util::RefPtr;
27 27
28 namespace mojo { 28 namespace mojo {
29 namespace system { 29 namespace system {
30 namespace { 30 namespace {
31 31
32 class MultiprocessMessagePipePerfTest 32 class MultiprocessMessagePipePerfTest
33 : public test::MultiprocessMessagePipeTestBase { 33 : public test::MultiprocessMessagePipeTestBase {
34 public: 34 public:
35 MultiprocessMessagePipePerfTest() : message_count_(0), message_size_(0) {} 35 MultiprocessMessagePipePerfTest() : message_count_(0), message_size_(0) {}
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 } 160 }
161 161
162 SendQuitMessage(mp.get()); 162 SendQuitMessage(mp.get());
163 mp->Close(0); 163 mp->Close(0);
164 EXPECT_EQ(0, helper()->WaitForChildShutdown()); 164 EXPECT_EQ(0, helper()->WaitForChildShutdown());
165 } 165 }
166 166
167 } // namespace 167 } // namespace
168 } // namespace system 168 } // namespace system
169 } // namespace mojo 169 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/message_pipe_dispatcher.cc ('k') | mojo/edk/system/message_pipe_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698