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

Side by Side Diff: sdk/lib/io/io_service.dart

Issue 24596003: Clean up IOService implementation to be shared between patched and non-patched code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/io/io.dart ('k') | sdk/lib/io/iolib_sources.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // BSD-style license that can be found in the LICENSE file.
4
5 part of dart.io;
6
7 const int _FILE_EXISTS = 0;
8 const int _FILE_CREATE = 1;
9 const int _FILE_DELETE = 2;
10 const int _FILE_RENAME = 3;
11 const int _FILE_OPEN = 4;
12 const int _FILE_RESOLVE_SYMBOLIC_LINKS = 5;
13 const int _FILE_CLOSE = 6;
14 const int _FILE_POSITION = 7;
15 const int _FILE_SET_POSITION = 8;
16 const int _FILE_TRUNCATE = 9;
17 const int _FILE_LENGTH = 10;
18 const int _FILE_LENGTH_FROM_PATH = 11;
19 const int _FILE_LAST_MODIFIED = 12;
20 const int _FILE_FLUSH = 13;
21 const int _FILE_READ_BYTE = 14;
22 const int _FILE_WRITE_BYTE = 15;
23 const int _FILE_READ = 16;
24 const int _FILE_READ_INTO = 17;
25 const int _FILE_WRITE_FROM = 18;
26 const int _FILE_CREATE_LINK = 19;
27 const int _FILE_DELETE_LINK = 20;
28 const int _FILE_RENAME_LINK = 21;
29 const int _FILE_LINK_TARGET = 22;
30 const int _FILE_TYPE = 23;
31 const int _FILE_IDENTICAL = 24;
32 const int _FILE_STAT = 25;
33 const int _SOCKET_LOOKUP = 26;
34 const int _SOCKET_LIST_INTERFACES = 27;
35 const int _SOCKET_REVERSE_LOOKUP = 28;
36 const int _DIRECTORY_CREATE = 29;
37 const int _DIRECTORY_DELETE = 30;
38 const int _DIRECTORY_EXISTS = 31;
39 const int _DIRECTORY_CREATE_TEMP = 32;
40 const int _DIRECTORY_LIST_START = 33;
41 const int _DIRECTORY_LIST_NEXT = 34;
42 const int _DIRECTORY_LIST_STOP = 35;
43 const int _DIRECTORY_RENAME = 36;
44 const int _SSL_PROCESS_FILTER = 37;
45
46 class _IOService {
47 external static Future dispatch(int request, List data);
48 }
OLDNEW
« no previous file with comments | « sdk/lib/io/io.dart ('k') | sdk/lib/io/iolib_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698