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

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

Issue 37033002: dart:io | Remove uses of Options class from standalone tests. Mark Options deprecated. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove commented lines from standalone.status. 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 | « no previous file | tests/standalone/http_launch_data/http_spawn_main.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; 5 part of dart.io;
6 6
7 @deprecated
7 /** 8 /**
8 * The Options object allows accessing the arguments which have been passed to 9 * Deprecated: the Options object allows accessing the arguments which
9 * the current isolate. 10 * have been passed to the current isolate.
11 *
12 * This class has been replaced by making the arguments an optional parameter
13 * to main. The other members, executable, script, and versione, are already
14 * available on Platform (which will move to the dart:plaform library).
15 *
16 * This class will be removed on October 28, 2013.
10 */ 17 */
11 abstract class Options { 18 abstract class Options {
12 /** 19 /**
13 * A newly constructed Options object contains the arguments exactly as they 20 * A newly constructed Options object contains the arguments exactly as they
14 * have been passed to the isolate. 21 * have been passed to the isolate.
15 */ 22 */
16 factory Options() => new _OptionsImpl(); 23 factory Options() => new _OptionsImpl();
17 24
18 /** 25 /**
19 * Returns a list of arguments that have been passed to this isolate. Any 26 * Returns a list of arguments that have been passed to this isolate. Any
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // On first access make a copy of the native arguments. 67 // On first access make a copy of the native arguments.
61 _arguments = _nativeArguments.sublist(0, _nativeArguments.length); 68 _arguments = _nativeArguments.sublist(0, _nativeArguments.length);
62 } 69 }
63 return _arguments; 70 return _arguments;
64 } 71 }
65 72
66 String get executable => Platform.executable; 73 String get executable => Platform.executable;
67 String get script => Platform.script; 74 String get script => Platform.script;
68 String get version => Platform.version; 75 String get version => Platform.version;
69 } 76 }
OLDNEW
« no previous file with comments | « no previous file | tests/standalone/http_launch_data/http_spawn_main.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698