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

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

Issue 1947733002: EDK: Rename DispatcherTransport to HandleTransport. (Closed) Base URL: https://github.com/domokit/mojo.git@work790_edk_handle_11-x-work788_edk_handle_10
Patch Set: Created 4 years, 8 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/message_pipe_dispatcher.cc ('k') | mojo/edk/system/platform_handle_dispatcher_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/multiprocess_message_pipe_unittest.cc
diff --git a/mojo/edk/system/multiprocess_message_pipe_unittest.cc b/mojo/edk/system/multiprocess_message_pipe_unittest.cc
index c80e35cd5957de0b02781d2aa508ef23d80790aa..519379daca5353694e9b6fc43a75f3346be2517f 100644
--- a/mojo/edk/system/multiprocess_message_pipe_unittest.cc
+++ b/mojo/edk/system/multiprocess_message_pipe_unittest.cc
@@ -338,10 +338,10 @@ TEST_F(MultiprocessMessagePipeTest, MAYBE_SharedBufferPassing) {
// Send the shared buffer.
const std::string go1("go 1");
- DispatcherTransport transport(test::HandleTryStartTransport(handle));
+ HandleTransport transport(test::HandleTryStartTransport(handle));
ASSERT_TRUE(transport.is_valid());
- std::vector<DispatcherTransport> transports;
+ std::vector<HandleTransport> transports;
transports.push_back(transport);
EXPECT_EQ(MOJO_RESULT_OK,
mp->WriteMessage(0, UserPointer<const void>(&go1[0]),
@@ -468,7 +468,7 @@ TEST_P(MultiprocessMessagePipeTestWithPipeCount, PlatformHandlePassing) {
Init(std::move(ep));
std::vector<Handle> handles;
- std::vector<DispatcherTransport> transports;
+ std::vector<HandleTransport> transports;
size_t pipe_count = GetParam();
for (size_t i = 0; i < pipe_count; ++i) {
@@ -483,8 +483,7 @@ TEST_P(MultiprocessMessagePipeTestWithPipeCount, PlatformHandlePassing) {
MOJO_HANDLE_RIGHT_TRANSFER | MOJO_HANDLE_RIGHT_READ |
MOJO_HANDLE_RIGHT_WRITE);
handles.push_back(std::move(handle));
- DispatcherTransport transport(
- test::HandleTryStartTransport(handles.back()));
+ HandleTransport transport(test::HandleTryStartTransport(handles.back()));
ASSERT_TRUE(transport.is_valid());
transports.push_back(transport);
}
« no previous file with comments | « mojo/edk/system/message_pipe_dispatcher.cc ('k') | mojo/edk/system/platform_handle_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698