OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
| 5 patch class _MojoHandleWatcherNatives { |
| 6 static int sendControlData( |
| 7 int controlHandle, int mojoHandle, SendPort port, int data) |
| 8 native "MojoHandleWatcher_SendControlData"; |
| 9 static List recvControlData(int controlHandle) |
| 10 native "MojoHandleWatcher_RecvControlData"; |
| 11 static int setControlHandle(int controlHandle) |
| 12 native "MojoHandleWatcher_SetControlHandle"; |
| 13 static int getControlHandle() |
| 14 native "MojoHandleWatcher_GetControlHandle"; |
| 15 } |
OLD | NEW |