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

Side by Side Diff: mojo/edk/embedder/multiprocess_embedder_unittest.cc

Issue 1801793003: Move mojo::{Wait,WaitMany}() to (the newly-added) mojo/public/cpp/system/wait.h. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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
« no previous file with comments | « mojo/data_pipe_utils/data_pipe_utils.cc ('k') | mojo/message_pump/message_pump_mojo.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "mojo/edk/embedder/multiprocess_embedder.h" 5 #include "mojo/edk/embedder/multiprocess_embedder.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <memory> 9 #include <memory>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "mojo/edk/embedder/test_embedder.h" 12 #include "mojo/edk/embedder/test_embedder.h"
13 #include "mojo/edk/platform/platform_pipe.h" 13 #include "mojo/edk/platform/platform_pipe.h"
14 #include "mojo/edk/system/test/test_command_line.h" 14 #include "mojo/edk/system/test/test_command_line.h"
15 #include "mojo/edk/system/test/test_io_thread.h" 15 #include "mojo/edk/system/test/test_io_thread.h"
16 #include "mojo/edk/system/test/timeouts.h" 16 #include "mojo/edk/system/test/timeouts.h"
17 #include "mojo/edk/test/multiprocess_test_helper.h" 17 #include "mojo/edk/test/multiprocess_test_helper.h"
18 #include "mojo/edk/test/scoped_ipc_support.h" 18 #include "mojo/edk/test/scoped_ipc_support.h"
19 #include "mojo/edk/util/command_line.h" 19 #include "mojo/edk/util/command_line.h"
20 #include "mojo/edk/util/ref_ptr.h" 20 #include "mojo/edk/util/ref_ptr.h"
21 #include "mojo/edk/util/waitable_event.h" 21 #include "mojo/edk/util/waitable_event.h"
22 #include "mojo/public/c/system/handle.h" 22 #include "mojo/public/c/system/handle.h"
23 #include "mojo/public/c/system/time.h" 23 #include "mojo/public/c/system/time.h"
24 #include "mojo/public/c/system/wait.h" 24 #include "mojo/public/c/system/wait.h"
25 #include "mojo/public/cpp/system/handle.h" 25 #include "mojo/public/cpp/system/handle.h"
26 #include "mojo/public/cpp/system/macros.h" 26 #include "mojo/public/cpp/system/macros.h"
27 #include "mojo/public/cpp/system/message_pipe.h" 27 #include "mojo/public/cpp/system/message_pipe.h"
28 #include "mojo/public/cpp/system/wait.h"
28 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
29 30
30 using mojo::platform::PlatformHandleWatcher; 31 using mojo::platform::PlatformHandleWatcher;
31 using mojo::platform::PlatformPipe; 32 using mojo::platform::PlatformPipe;
32 using mojo::platform::ScopedPlatformHandle; 33 using mojo::platform::ScopedPlatformHandle;
33 using mojo::platform::TaskRunner; 34 using mojo::platform::TaskRunner;
34 using mojo::system::test::TestIOThread; 35 using mojo::system::test::TestIOThread;
35 using mojo::util::ManualResetWaitableEvent; 36 using mojo::util::ManualResetWaitableEvent;
36 using mojo::util::RefPtr; 37 using mojo::util::RefPtr;
37 38
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 701
701 EXPECT_TRUE(test::Shutdown()); 702 EXPECT_TRUE(test::Shutdown());
702 } 703 }
703 704
704 // TODO(vtl): Test immediate write & close. 705 // TODO(vtl): Test immediate write & close.
705 // TODO(vtl): Test broken-connection cases. 706 // TODO(vtl): Test broken-connection cases.
706 707
707 } // namespace 708 } // namespace
708 } // namespace embedder 709 } // namespace embedder
709 } // namespace mojo 710 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/data_pipe_utils/data_pipe_utils.cc ('k') | mojo/message_pump/message_pump_mojo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698