Chromium Code Reviews| Index: third_party/WebKit/Source/core/mojo/MojoHandle.idl |
| diff --git a/third_party/WebKit/Source/core/mojo/MojoHandle.idl b/third_party/WebKit/Source/core/mojo/MojoHandle.idl |
| index 78a49ed0fd4be0c51ac155307da18422f4845550..9586039d627cd06b57a3d3f19a85f954f628d30c 100644 |
| --- a/third_party/WebKit/Source/core/mojo/MojoHandle.idl |
| +++ b/third_party/WebKit/Source/core/mojo/MojoHandle.idl |
| @@ -15,6 +15,13 @@ callback MojoWatchCallback = void (MojoResult result); |
| MojoResult writeMessage(BufferSource buffer, sequence<MojoHandle> handles); |
| MojoReadMessageResult readMessage(optional MojoReadMessageFlags flags); |
| + // TODO(alokp): Create DataPipeHandle, a subclass of MojoHandle |
|
jbroman
2017/03/07 20:31:47
If you do this, wouldn't it be a MojoDataPipeProdu
alokp
2017/03/07 20:49:32
Ah yes - updated comment.
|
| + // and move the following member functions. |
| + MojoWriteDataResult writeData(BufferSource buffer, optional MojoWriteDataOptions options); |
| + MojoReadDataResult queryData(); |
| + MojoReadDataResult discardData(unsigned long numBytes, optional MojoDiscardDataOptions options); |
| + MojoReadDataResult readData(unsigned long numBytes, BufferSource buffer, optional MojoReadDataOptions options); |
| + |
| // TODO(alokp): Create SharedBufferHandle, a subclass of MojoHandle |
| // and move the following member functions. |
| MojoMapBufferResult mapBuffer(unsigned long offset, unsigned long numBytes); |