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

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

Issue 2052423002: Add Dispatcher methods for wait sets. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: oops Created 4 years, 6 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/entrypoint_class.h ('k') | mojo/public/c/system/wait_set.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/shared_buffer_dispatcher.h
diff --git a/mojo/edk/system/shared_buffer_dispatcher.h b/mojo/edk/system/shared_buffer_dispatcher.h
index 059f74e6eda0e86fd0928073ef8fb7c3527f5c3e..6f748b9a8abac7db14891f8ae446a06ec14317bd 100644
--- a/mojo/edk/system/shared_buffer_dispatcher.h
+++ b/mojo/edk/system/shared_buffer_dispatcher.h
@@ -33,7 +33,7 @@ namespace system {
class SharedBufferDispatcher final : public SimpleDispatcher {
public:
// The default/standard rights for a shared buffer handle. Note that they're
- // duplicable by default.
+ // duplicatable by default.
static constexpr MojoHandleRights kDefaultHandleRights =
MOJO_HANDLE_RIGHT_DUPLICATE | MOJO_HANDLE_RIGHT_TRANSFER |
MOJO_HANDLE_RIGHT_GET_OPTIONS | MOJO_HANDLE_RIGHT_SET_OPTIONS |
@@ -55,8 +55,7 @@ class SharedBufferDispatcher final : public SimpleDispatcher {
MojoCreateSharedBufferOptions* out_options);
// Static factory method: |validated_options| must be validated (obviously).
- // Returns null on error; |*result| will be set to an appropriate result
- // code).
+ // Returns null on error; |*result| will be set to an appropriate result code.
static util::RefPtr<SharedBufferDispatcher> Create(
embedder::PlatformSupport* platform_support,
const MojoCreateSharedBufferOptions& validated_options,
« no previous file with comments | « mojo/edk/system/entrypoint_class.h ('k') | mojo/public/c/system/wait_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698