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

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

Issue 11419032: Switch libraries to using new tags. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated to tip of tree. Changed library names to dart.x Created 8 years 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/platform_impl.dart ('k') | sdk/lib/io/secure_server_socket.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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;
6
5 // TODO(ager): The only reason for this class is that we 7 // TODO(ager): The only reason for this class is that we
6 // cannot patch a top-level at this point. 8 // cannot patch a top-level at this point.
7 class _ProcessUtils { 9 class _ProcessUtils {
8 external static _exit(int status); 10 external static _exit(int status);
9 } 11 }
10 12
11 /** Exit the Dart VM process with the given [status] code. */ 13 /** Exit the Dart VM process with the given [status] code. */
12 void exit(int status) { 14 void exit(int status) {
13 if (status is !int) { 15 if (status is !int) {
14 throw new ArgumentError("int status expected"); 16 throw new ArgumentError("int status expected");
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 /** 239 /**
238 * Contains the system message for the process exception if any. 240 * Contains the system message for the process exception if any.
239 */ 241 */
240 final String message; 242 final String message;
241 243
242 /** 244 /**
243 * Contains the OS error code for the process exception if any. 245 * Contains the OS error code for the process exception if any.
244 */ 246 */
245 final int errorCode; 247 final int errorCode;
246 } 248 }
OLDNEW
« no previous file with comments | « sdk/lib/io/platform_impl.dart ('k') | sdk/lib/io/secure_server_socket.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698