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

Unified Diff: mojo/edk/system/message_pipe.h

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/ipc_support_unittest.cc ('k') | mojo/edk/system/message_pipe.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/message_pipe.h
diff --git a/mojo/edk/system/message_pipe.h b/mojo/edk/system/message_pipe.h
index 4cffa35ccf28e3d0bde130567e852be8bf9b5c67..98a6d07ced23df5de9cccd891db8b5950c7534f0 100644
--- a/mojo/edk/system/message_pipe.h
+++ b/mojo/edk/system/message_pipe.h
@@ -89,7 +89,7 @@ class MessagePipe final : public ChannelEndpointClient {
MojoResult WriteMessage(unsigned port,
UserPointer<const void> bytes,
uint32_t num_bytes,
- std::vector<DispatcherTransport>* transports,
+ std::vector<HandleTransport>* transports,
MojoWriteMessageFlags flags);
MojoResult ReadMessage(unsigned port,
UserPointer<void> bytes,
@@ -136,14 +136,13 @@ class MessagePipe final : public ChannelEndpointClient {
// dispatchers attached. Must be called with |lock_| held.
MojoResult EnqueueMessageNoLock(unsigned port,
std::unique_ptr<MessageInTransit> message,
- std::vector<DispatcherTransport>* transports)
+ std::vector<HandleTransport>* transports)
MOJO_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
// Helper for |EnqueueMessageNoLock()|.
- MojoResult AttachTransportsNoLock(
- unsigned port,
- MessageInTransit* message,
- std::vector<DispatcherTransport>* transports)
+ MojoResult AttachTransportsNoLock(unsigned port,
+ MessageInTransit* message,
+ std::vector<HandleTransport>* transports)
MOJO_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
mutable util::Mutex mutex_;
« no previous file with comments | « mojo/edk/system/ipc_support_unittest.cc ('k') | mojo/edk/system/message_pipe.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698