Index: mojo/dart/embedder/core/handle_watcher_patch.dart |
diff --git a/mojo/dart/embedder/core/handle_watcher_patch.dart b/mojo/dart/embedder/core/handle_watcher_patch.dart |
index fd34d1f948f5ec7f1a52aa9c11ace583055636de..266af0a659d705a7fe0aa7d5c887b29ea12a31fe 100644 |
--- a/mojo/dart/embedder/core/handle_watcher_patch.dart |
+++ b/mojo/dart/embedder/core/handle_watcher_patch.dart |
@@ -2,3 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+patch class _MojoHandleWatcherNatives { |
+ static int sendControlData( |
+ int controlHandle, int mojoHandle, SendPort port, int data) |
+ native "MojoHandleWatcher_SendControlData"; |
+ static List recvControlData(int controlHandle) |
+ native "MojoHandleWatcher_RecvControlData"; |
+ static int setControlHandle(int controlHandle) |
+ native "MojoHandleWatcher_SetControlHandle"; |
+ static int getControlHandle() |
+ native "MojoHandleWatcher_GetControlHandle"; |
+} |