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

Unified Diff: mojo/system/multiprocess_message_pipe_unittest.cc

Issue 137063010: Mojo: Move platform handle/channel stuff in system to embedder namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/system/embedder_unittest.cc ('k') | mojo/system/platform_channel_pair.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/multiprocess_message_pipe_unittest.cc
diff --git a/mojo/system/multiprocess_message_pipe_unittest.cc b/mojo/system/multiprocess_message_pipe_unittest.cc
index 406596552e99e84cc0e7b76ff9795cd9377164a4..6d27aad3013db1ae73ecb20d1703942dce3ff381 100644
--- a/mojo/system/multiprocess_message_pipe_unittest.cc
+++ b/mojo/system/multiprocess_message_pipe_unittest.cc
@@ -48,7 +48,7 @@ class IOThreadWrapper {
test::PostTaskAndWait(task_runner(), from_here, task);
}
- void Init(ScopedPlatformHandle platform_handle,
+ void Init(embedder::ScopedPlatformHandle platform_handle,
scoped_refptr<MessagePipe> mp) {
io_thread_.StartWithOptions(
base::Thread::Options(base::MessageLoop::TYPE_IO, 0));
@@ -76,7 +76,7 @@ class IOThreadWrapper {
}
private:
- void InitOnIOThread(ScopedPlatformHandle platform_handle,
+ void InitOnIOThread(embedder::ScopedPlatformHandle platform_handle,
scoped_refptr<MessagePipe> mp) {
CHECK_EQ(base::MessageLoop::current(), message_loop());
CHECK(platform_handle.is_valid());
@@ -152,7 +152,7 @@ MojoResult WaitIfNecessary(scoped_refptr<MessagePipe> mp, MojoWaitFlags flags) {
// not including any "quitquitquit" message, modulo 100.
MOJO_MULTIPROCESS_TEST_CHILD_MAIN(EchoEcho) {
IOThreadWrapper io_thread_wrapper;
- ScopedPlatformHandle client_platform_handle =
+ embedder::ScopedPlatformHandle client_platform_handle =
MultiprocessMessagePipeTest::client_platform_handle.Pass();
CHECK(client_platform_handle.is_valid());
scoped_refptr<MessagePipe> mp(new MessagePipe(
« no previous file with comments | « mojo/system/embedder_unittest.cc ('k') | mojo/system/platform_channel_pair.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698