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 _MojoHandleNatives { |
| 6 static int register(MojoEventStream eventStream) native "MojoHandle_Register"; |
| 7 static int close(int handle) native "MojoHandle_Close"; |
| 8 static List wait(int handle, int signals, int deadline) |
| 9 native "MojoHandle_Wait"; |
| 10 static List waitMany( |
| 11 List<int> handles, List<int> signals, int deadline) |
| 12 native "MojoHandle_WaitMany"; |
| 13 } |
OLD | NEW |