Chromium Code Reviews| Index: third_party/WebKit/Source/core/mojo/MojoReadMessageResult.idl |
| diff --git a/third_party/WebKit/Source/core/mojo/MojoReadMessageResult.idl b/third_party/WebKit/Source/core/mojo/MojoReadMessageResult.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b5c64843bf112afbf2458e0b2fd1c88307f9490e |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/mojo/MojoReadMessageResult.idl |
| @@ -0,0 +1,14 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +dictionary MojoReadMessageResult { |
|
esprehn
2016/10/25 03:34:06
ditto
alokp
2016/10/25 05:01:37
ditto :)
|
| + // TODO(alokp): Consider raising exception for read error. |
| + required MojoResult result; |
| + |
| + // TODO(alokp): Check if returning DataView makes sense. |
| + // It would require some changes in mojo/js/public/[buffer,codec].js. |
| + ArrayBuffer buffer; |
| + |
| + sequence<MojoHandle> handles; |
| +}; |