| 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..50f5466f48238d2067ed02cc1605ec1edb7c24bf 100644
|
| --- a/third_party/WebKit/Source/core/mojo/MojoHandle.idl
|
| +++ b/third_party/WebKit/Source/core/mojo/MojoHandle.idl
|
| @@ -10,12 +10,19 @@ callback MojoWatchCallback = void (MojoResult result);
|
| void close();
|
| [CallWith=ScriptState] MojoWatcher watch(MojoHandleSignals signals, MojoWatchCallback callback);
|
|
|
| - // TODO(alokp): Create MessagePipeHandle, a subclass of MojoHandle
|
| + // TODO(alokp): Create MojoMessagePipeHandle, a subclass of MojoHandle
|
| // and move the following member functions.
|
| MojoResult writeMessage(BufferSource buffer, sequence<MojoHandle> handles);
|
| MojoReadMessageResult readMessage(optional MojoReadMessageFlags flags);
|
|
|
| - // TODO(alokp): Create SharedBufferHandle, a subclass of MojoHandle
|
| + // TODO(alokp): Create MojoDataPipeProducerHandle and MojoDataPipeConsumerHandle,
|
| + // subclasses of MojoHandle 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(BufferSource buffer, optional MojoReadDataOptions options);
|
| +
|
| + // TODO(alokp): Create MojoSharedBufferHandle, a subclass of MojoHandle
|
| // and move the following member functions.
|
| MojoMapBufferResult mapBuffer(unsigned long offset, unsigned long numBytes);
|
| MojoCreateSharedBufferResult duplicateBufferHandle(optional MojoDuplicateBufferHandleOptions options);
|
|
|