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

Side by Side Diff: mojo/edk/system/multiprocess_message_pipe_unittest.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
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 #include <stdint.h> 5 #include <stdint.h>
6 #include <stdio.h> 6 #include <stdio.h>
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/bind.h" 14 #include "base/bind.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "build/build_config.h" // TODO(vtl): Remove this. 16 #include "build/build_config.h" // TODO(vtl): Remove this.
17 #include "mojo/edk/embedder/platform_shared_buffer.h" 17 #include "mojo/edk/embedder/platform_shared_buffer.h"
18 #include "mojo/edk/embedder/scoped_platform_handle.h" 18 #include "mojo/edk/platform/scoped_platform_handle.h"
19 #include "mojo/edk/system/channel.h" 19 #include "mojo/edk/system/channel.h"
20 #include "mojo/edk/system/dispatcher.h" 20 #include "mojo/edk/system/dispatcher.h"
21 #include "mojo/edk/system/message_pipe.h" 21 #include "mojo/edk/system/message_pipe.h"
22 #include "mojo/edk/system/message_pipe_test_utils.h" 22 #include "mojo/edk/system/message_pipe_test_utils.h"
23 #include "mojo/edk/system/platform_handle_dispatcher.h" 23 #include "mojo/edk/system/platform_handle_dispatcher.h"
24 #include "mojo/edk/system/raw_channel.h" 24 #include "mojo/edk/system/raw_channel.h"
25 #include "mojo/edk/system/shared_buffer_dispatcher.h" 25 #include "mojo/edk/system/shared_buffer_dispatcher.h"
26 #include "mojo/edk/system/test/scoped_test_dir.h" 26 #include "mojo/edk/system/test/scoped_test_dir.h"
27 #include "mojo/edk/test/test_utils.h" 27 #include "mojo/edk/test/test_utils.h"
28 #include "mojo/edk/util/ref_ptr.h" 28 #include "mojo/edk/util/ref_ptr.h"
29 #include "mojo/edk/util/scoped_file.h" 29 #include "mojo/edk/util/scoped_file.h"
30 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
31 31
32 using mojo::embedder::ScopedPlatformHandle; 32 using mojo::platform::ScopedPlatformHandle;
33 using mojo::util::RefPtr; 33 using mojo::util::RefPtr;
34 34
35 namespace mojo { 35 namespace mojo {
36 namespace system { 36 namespace system {
37 namespace { 37 namespace {
38 38
39 class MultiprocessMessagePipeTest 39 class MultiprocessMessagePipeTest
40 : public test::MultiprocessMessagePipeTestBase {}; 40 : public test::MultiprocessMessagePipeTestBase {};
41 41
42 // For each message received, sends a reply message with the same contents 42 // For each message received, sends a reply message with the same contents
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 // Android multi-process tests are not executing the new process. This is flaky. 506 // Android multi-process tests are not executing the new process. This is flaky.
507 #if !defined(OS_ANDROID) 507 #if !defined(OS_ANDROID)
508 INSTANTIATE_TEST_CASE_P(PipeCount, 508 INSTANTIATE_TEST_CASE_P(PipeCount,
509 MultiprocessMessagePipeTestWithPipeCount, 509 MultiprocessMessagePipeTestWithPipeCount,
510 testing::Values(1u, 128u, 140u)); 510 testing::Values(1u, 128u, 140u));
511 #endif 511 #endif
512 512
513 } // namespace 513 } // namespace
514 } // namespace system 514 } // namespace system
515 } // namespace mojo 515 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/message_pipe_test_utils.cc ('k') | mojo/edk/system/platform_handle_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698