| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of dart.io; | 5 part of dart.io; |
| 6 | 6 |
| 7 // This list must be kept in sync with the list in runtime/bin/io_service.h | 7 // This list must be kept in sync with the list in runtime/bin/io_service.h |
| 8 const int _FILE_EXISTS = 0; | 8 const int _FILE_EXISTS = 0; |
| 9 const int _FILE_CREATE = 1; | 9 const int _FILE_CREATE = 1; |
| 10 const int _FILE_DELETE = 2; | 10 const int _FILE_DELETE = 2; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 const int _FILE_TYPE = 23; | 31 const int _FILE_TYPE = 23; |
| 32 const int _FILE_IDENTICAL = 24; | 32 const int _FILE_IDENTICAL = 24; |
| 33 const int _FILE_STAT = 25; | 33 const int _FILE_STAT = 25; |
| 34 const int _SOCKET_LOOKUP = 26; | 34 const int _SOCKET_LOOKUP = 26; |
| 35 const int _SOCKET_LIST_INTERFACES = 27; | 35 const int _SOCKET_LIST_INTERFACES = 27; |
| 36 const int _SOCKET_REVERSE_LOOKUP = 28; | 36 const int _SOCKET_REVERSE_LOOKUP = 28; |
| 37 const int _DIRECTORY_CREATE = 29; | 37 const int _DIRECTORY_CREATE = 29; |
| 38 const int _DIRECTORY_DELETE = 30; | 38 const int _DIRECTORY_DELETE = 30; |
| 39 const int _DIRECTORY_EXISTS = 31; | 39 const int _DIRECTORY_EXISTS = 31; |
| 40 const int _DIRECTORY_CREATE_TEMP = 32; | 40 const int _DIRECTORY_CREATE_TEMP = 32; |
| 41 const int _DIRECTORY_CREATE_SYSTEM_TEMP = 33; | 41 const int _DIRECTORY_LIST_START = 33; |
| 42 const int _DIRECTORY_LIST_START = 34; | 42 const int _DIRECTORY_LIST_NEXT = 34; |
| 43 const int _DIRECTORY_LIST_NEXT = 35; | 43 const int _DIRECTORY_LIST_STOP = 35; |
| 44 const int _DIRECTORY_LIST_STOP = 36; | 44 const int _DIRECTORY_RENAME = 36; |
| 45 const int _DIRECTORY_RENAME = 37; | 45 const int _SSL_PROCESS_FILTER = 37; |
| 46 const int _SSL_PROCESS_FILTER = 38; | |
| 47 | 46 |
| 48 class _IOService { | 47 class _IOService { |
| 49 external static Future dispatch(int request, List data); | 48 external static Future dispatch(int request, List data); |
| 50 } | 49 } |
| OLD | NEW |