Index: mojo/edk/system/data_pipe_producer_dispatcher.h |
diff --git a/mojo/edk/system/data_pipe_producer_dispatcher.h b/mojo/edk/system/data_pipe_producer_dispatcher.h |
index c024c18bda0c1e6272bc5c64cff1f54951a7b6c6..415b75675bd62219b3b7f91250bfc2c33d6781fd 100644 |
--- a/mojo/edk/system/data_pipe_producer_dispatcher.h |
+++ b/mojo/edk/system/data_pipe_producer_dispatcher.h |
@@ -20,6 +20,11 @@ class DataPipe; |
// thread-safe. |
class DataPipeProducerDispatcher final : public Dispatcher { |
public: |
+ // The default/standard rights for a data pipe consumer handle. |
+ static constexpr MojoHandleRights kDefaultHandleRights = |
+ MOJO_HANDLE_RIGHT_TRANSFER | MOJO_HANDLE_RIGHT_READ | |
+ MOJO_HANDLE_RIGHT_WRITE; |
+ |
static util::RefPtr<DataPipeProducerDispatcher> Create() { |
return AdoptRef(new DataPipeProducerDispatcher()); |
} |