| Index: third_party/WebKit/Source/core/mojo/MojoHandle.h
|
| diff --git a/third_party/WebKit/Source/core/mojo/MojoHandle.h b/third_party/WebKit/Source/core/mojo/MojoHandle.h
|
| index 78fa9138b91b48b5c6a4a888a89e79b86c7a4235..61e4048c9319dfebd50acf8cab5b4db12af46f09 100644
|
| --- a/third_party/WebKit/Source/core/mojo/MojoHandle.h
|
| +++ b/third_party/WebKit/Source/core/mojo/MojoHandle.h
|
| @@ -11,7 +11,10 @@
|
| namespace blink {
|
|
|
| class ArrayBufferOrArrayBufferView;
|
| +class MojoCreateSharedBufferResult;
|
| +class MojoDuplicateBufferHandleOptions;
|
| class MojoHandleSignals;
|
| +class MojoMapBufferResult;
|
| class MojoReadMessageFlags;
|
| class MojoReadMessageResult;
|
| class MojoWatchCallback;
|
| @@ -29,10 +32,17 @@ class MojoHandle final : public GarbageCollectedFinalized<MojoHandle>,
|
| MojoWatcher* watch(ScriptState*,
|
| const MojoHandleSignals&,
|
| MojoWatchCallback*);
|
| +
|
| + // MessagePipe handle.
|
| MojoResult writeMessage(ArrayBufferOrArrayBufferView&,
|
| const HeapVector<Member<MojoHandle>>&);
|
| void readMessage(const MojoReadMessageFlags&, MojoReadMessageResult&);
|
|
|
| + // SharedBuffer handle.
|
| + void mapBuffer(unsigned offset, unsigned numBytes, MojoMapBufferResult&);
|
| + void duplicateBufferHandle(const MojoDuplicateBufferHandleOptions&,
|
| + MojoCreateSharedBufferResult&);
|
| +
|
| DEFINE_INLINE_TRACE() {}
|
|
|
| private:
|
|
|