Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: third_party/WebKit/Source/core/mojo/MojoReadMessageResult.idl

Issue 2400563002: Adds Mojo IDL. (Closed)
Patch Set: uses WebTaskRunner Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..f08503cd8f4951c2a3e01b6951b593a8f775b6f0
--- /dev/null
+++ b/third_party/WebKit/Source/core/mojo/MojoReadMessageResult.idl
@@ -0,0 +1,14 @@
+// Copyright 2017 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 {
+ // 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;
+};
« no previous file with comments | « third_party/WebKit/Source/core/mojo/MojoReadMessageFlags.idl ('k') | third_party/WebKit/Source/core/mojo/MojoWatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698