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

Unified Diff: mojo/system/dispatcher.h

Issue 68993005: Mojo: More plumbing to support sending handles over MessagePipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/system/channel.cc ('k') | mojo/system/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/dispatcher.h
diff --git a/mojo/system/dispatcher.h b/mojo/system/dispatcher.h
index d1721d6ecaa9c1e1013c86ccccac1809b574a789..abd1ed1804211ccc80b981521059d6144610a8cb 100644
--- a/mojo/system/dispatcher.h
+++ b/mojo/system/dispatcher.h
@@ -42,9 +42,9 @@ class MOJO_SYSTEM_EXPORT Dispatcher :
MojoResult WriteMessage(const void* bytes, uint32_t num_bytes,
const std::vector<Dispatcher*>* dispatchers,
MojoWriteMessageFlags flags);
- // |dispatchers| must be non-null if |max_num_dispatchers| is nonzero. On
- // success, it will be set to the dispatchers to be received (and assigned
- // handles) as part of the message.
+ // |dispatchers| must be non-null but empty, if |max_num_dispatchers| is
+ // nonzero. On success, it will be set to the dispatchers to be received (and
+ // assigned handles) as part of the message.
MojoResult ReadMessage(
void* bytes, uint32_t* num_bytes,
uint32_t max_num_dispatchers,
« no previous file with comments | « mojo/system/channel.cc ('k') | mojo/system/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698