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

Unified Diff: mojo/edk/system/channel_manager_unittest.cc

Issue 1659213002: Move PlatformChannelPair to //mojo/edk/platform and rename it PlatformPipe. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 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/edk/platform/platform_pipe.h ('k') | mojo/edk/system/channel_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/channel_manager_unittest.cc
diff --git a/mojo/edk/system/channel_manager_unittest.cc b/mojo/edk/system/channel_manager_unittest.cc
index f0e708591e1a64a3216e81463849c91a27eea45f..6b85cd9444073a38848caf1663bb7fe173bd3c93 100644
--- a/mojo/edk/system/channel_manager_unittest.cc
+++ b/mojo/edk/system/channel_manager_unittest.cc
@@ -8,9 +8,9 @@
#include <memory>
#include <utility>
-#include "mojo/edk/embedder/platform_channel_pair.h"
#include "mojo/edk/embedder/simple_platform_support.h"
#include "mojo/edk/platform/message_loop.h"
+#include "mojo/edk/platform/platform_pipe.h"
#include "mojo/edk/platform/task_runner.h"
#include "mojo/edk/platform/test_message_loops.h"
#include "mojo/edk/system/channel.h"
@@ -23,6 +23,7 @@
using mojo::platform::MessageLoop;
using mojo::platform::PlatformHandleWatcher;
+using mojo::platform::PlatformPipe;
using mojo::platform::TaskRunner;
using mojo::platform::test::CreateTestMessageLoop;
using mojo::platform::test::CreateTestMessageLoopForIO;
@@ -65,7 +66,7 @@ class ChannelManagerTest : public testing::Test {
};
TEST_F(ChannelManagerTest, Basic) {
- embedder::PlatformChannelPair channel_pair;
+ PlatformPipe channel_pair;
const ChannelId id = 1;
RefPtr<MessagePipeDispatcher> d = channel_manager().CreateChannelOnIOThread(
@@ -88,7 +89,7 @@ TEST_F(ChannelManagerTest, Basic) {
}
TEST_F(ChannelManagerTest, TwoChannels) {
- embedder::PlatformChannelPair channel_pair;
+ PlatformPipe channel_pair;
const ChannelId id1 = 1;
RefPtr<MessagePipeDispatcher> d1 = channel_manager().CreateChannelOnIOThread(
@@ -167,7 +168,7 @@ class OtherThread : public test::SimpleTestThread {
};
TEST_F(ChannelManagerTest, CallsFromOtherThread) {
- embedder::PlatformChannelPair channel_pair;
+ PlatformPipe channel_pair;
const ChannelId id = 1;
RefPtr<MessagePipeDispatcher> d = channel_manager().CreateChannelOnIOThread(
« no previous file with comments | « mojo/edk/platform/platform_pipe.h ('k') | mojo/edk/system/channel_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698