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

Side by Side Diff: mojo/system/multiprocess_message_pipe_unittest.cc

Issue 203373004: Mojo: Move mojo/system/embedder to mojo/embedder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « mojo/system/embedder/test_embedder.cc ('k') | mojo/system/raw_channel.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // TODO(vtl): Enable this on non-POSIX once we have a non-POSIX implementation. 5 // TODO(vtl): Enable this on non-POSIX once we have a non-POSIX implementation.
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 #if defined(OS_POSIX) 7 #if defined(OS_POSIX)
8 8
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <string> 11 #include <string>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/location.h" 15 #include "base/location.h"
16 #include "base/logging.h" 16 #include "base/logging.h"
17 #include "mojo/common/test/multiprocess_test_helper.h" 17 #include "mojo/common/test/multiprocess_test_helper.h"
18 #include "mojo/embedder/scoped_platform_handle.h"
18 #include "mojo/system/channel.h" 19 #include "mojo/system/channel.h"
19 #include "mojo/system/embedder/scoped_platform_handle.h"
20 #include "mojo/system/local_message_pipe_endpoint.h" 20 #include "mojo/system/local_message_pipe_endpoint.h"
21 #include "mojo/system/message_pipe.h" 21 #include "mojo/system/message_pipe.h"
22 #include "mojo/system/proxy_message_pipe_endpoint.h" 22 #include "mojo/system/proxy_message_pipe_endpoint.h"
23 #include "mojo/system/test_utils.h" 23 #include "mojo/system/test_utils.h"
24 #include "mojo/system/waiter.h" 24 #include "mojo/system/waiter.h"
25 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
26 26
27 namespace mojo { 27 namespace mojo {
28 namespace system { 28 namespace system {
29 namespace { 29 namespace {
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 272
273 EXPECT_EQ(static_cast<int>(kNumMessages % 100), 273 EXPECT_EQ(static_cast<int>(kNumMessages % 100),
274 helper()->WaitForChildShutdown()); 274 helper()->WaitForChildShutdown());
275 } 275 }
276 276
277 } // namespace 277 } // namespace
278 } // namespace system 278 } // namespace system
279 } // namespace mojo 279 } // namespace mojo
280 280
281 #endif // defined(OS_POSIX) 281 #endif // defined(OS_POSIX)
OLDNEW
« no previous file with comments | « mojo/system/embedder/test_embedder.cc ('k') | mojo/system/raw_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698