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

Unified Diff: mojo/public/dart/mojo/sdk_ext/src/natives.dart

Issue 1415253008: Dart: Merge message pipe query and read into one native call (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Format Created 5 years, 1 month 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
« no previous file with comments | « mojo/public/dart/mojo/lib/src/stub.dart ('k') | mojo/public/platform/dart/mojo_natives.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/dart/mojo/sdk_ext/src/natives.dart
diff --git a/mojo/public/dart/mojo/sdk_ext/src/natives.dart b/mojo/public/dart/mojo/sdk_ext/src/natives.dart
index a9ec169ab442a9319f3f5bc02182256c3f98dad5..b3fe936b6b337b2a1a74104bd0a2139238483e5d 100644
--- a/mojo/public/dart/mojo/sdk_ext/src/natives.dart
+++ b/mojo/public/dart/mojo/sdk_ext/src/natives.dart
@@ -69,6 +69,9 @@ class MojoMessagePipeNatives {
static List MojoReadMessage(
int handle, ByteData data, int numBytes, List<int> handles, int flags)
native "MojoMessagePipe_Read";
+
+ static List MojoQueryAndReadMessage(int handle, int flags, List result)
+ native "MojoMessagePipe_QueryAndRead";
}
class MojoDataPipeNatives {
« no previous file with comments | « mojo/public/dart/mojo/lib/src/stub.dart ('k') | mojo/public/platform/dart/mojo_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698