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

Unified Diff: mojo/edk/system/handle_transport.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/handle_table.cc ('k') | mojo/edk/system/handle_transport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/handle_transport.h
diff --git a/mojo/edk/system/handle_transport.h b/mojo/edk/system/handle_transport.h
index 9c8fc7b0d2235d0bea58c6495370f4d9353ad437..4154a29d44db9111f381d5bbc9ef40030129e423 100644
--- a/mojo/edk/system/handle_transport.h
+++ b/mojo/edk/system/handle_transport.h
@@ -24,12 +24,9 @@ class MessagePipe;
//
// Note: This class is deliberately "thin" -- no more expensive than a struct
// containing a |Dispatcher*| and a |MojoHandleRights|.
-//
-// TODO(vtl): Rename this class to HandleTransport.
-class DispatcherTransport final {
+class HandleTransport final {
public:
- DispatcherTransport()
- : dispatcher_(nullptr), rights_(MOJO_HANDLE_RIGHT_NONE) {}
+ HandleTransport() : dispatcher_(nullptr), rights_(MOJO_HANDLE_RIGHT_NONE) {}
void End() MOJO_NOT_THREAD_SAFE;
@@ -50,7 +47,7 @@ class DispatcherTransport final {
private:
friend class Dispatcher::HandleTableAccess;
- explicit DispatcherTransport(const Handle& handle)
+ explicit HandleTransport(const Handle& handle)
: dispatcher_(handle.dispatcher.get()), rights_(handle.rights) {}
Dispatcher* dispatcher_;
« no previous file with comments | « mojo/edk/system/handle_table.cc ('k') | mojo/edk/system/handle_transport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698