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

Unified Diff: mojo/edk/system/channel_test_base.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/system/channel_manager_unittest.cc ('k') | mojo/edk/system/connection_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/channel_test_base.cc
diff --git a/mojo/edk/system/channel_test_base.cc b/mojo/edk/system/channel_test_base.cc
index 67d0a56118e002f770e76d1e185dad9ac15a2cbf..91bb997a9635a86d5f7c2a601cb204b2fe8dcf44 100644
--- a/mojo/edk/system/channel_test_base.cc
+++ b/mojo/edk/system/channel_test_base.cc
@@ -7,9 +7,10 @@
#include <utility>
#include "base/logging.h"
-#include "mojo/edk/embedder/platform_channel_pair.h"
+#include "mojo/edk/platform/platform_pipe.h"
#include "mojo/edk/system/raw_channel.h"
+using mojo::platform::PlatformPipe;
using mojo::util::MakeRefCounted;
namespace mojo {
@@ -63,7 +64,7 @@ void ChannelTestBase::ShutdownAndReleaseChannelOnIOThread(unsigned i) {
void ChannelTestBase::SetUpOnIOThread() {
CHECK(io_thread()->IsCurrentAndRunning());
- embedder::PlatformChannelPair channel_pair;
+ PlatformPipe channel_pair;
raw_channels_[0] = RawChannel::Create(channel_pair.handle0.Pass());
raw_channels_[1] = RawChannel::Create(channel_pair.handle1.Pass());
}
« no previous file with comments | « mojo/edk/system/channel_manager_unittest.cc ('k') | mojo/edk/system/connection_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698