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

Unified Diff: mojo/system/multiprocess_message_pipe_unittest.cc

Issue 134373005: Mojo: Refactor PlatformChannel stuff. (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/common/test/multiprocess_test_base_unittest.cc ('k') | mojo/system/platform_channel.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 2ddc40dc238aebaace370a01cb006576b3672159..85318266f417cf181970440f0e0304a94f90b695 100644
--- a/mojo/system/multiprocess_message_pipe_unittest.cc
+++ b/mojo/system/multiprocess_message_pipe_unittest.cc
@@ -122,7 +122,7 @@ class MultiprocessMessagePipeTest : public mojo::test::MultiprocessTestBase {
}
void Init(scoped_refptr<MessagePipe> mp) {
- io_thread_wrapper_.Init(platform_server_channel.get(), mp);
+ io_thread_wrapper_.Init(server_platform_channel.get(), mp);
}
private:
@@ -152,14 +152,14 @@ 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;
- PlatformClientChannel* const platform_client_channel =
- MultiprocessMessagePipeTest::platform_client_channel.get();
- CHECK(platform_client_channel);
- CHECK(platform_client_channel->is_valid());
+ PlatformChannel* const client_platform_channel =
+ MultiprocessMessagePipeTest::client_platform_channel.get();
+ CHECK(client_platform_channel);
+ CHECK(client_platform_channel->is_valid());
scoped_refptr<MessagePipe> mp(new MessagePipe(
scoped_ptr<MessagePipeEndpoint>(new LocalMessagePipeEndpoint()),
scoped_ptr<MessagePipeEndpoint>(new ProxyMessagePipeEndpoint())));
- io_thread_wrapper.Init(platform_client_channel, mp);
+ io_thread_wrapper.Init(client_platform_channel, mp);
const std::string quitquitquit("quitquitquit");
int rv = 0;
« no previous file with comments | « mojo/common/test/multiprocess_test_base_unittest.cc ('k') | mojo/system/platform_channel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698