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

Unified Diff: runtime/lib/options.dart

Issue 8505043: - Move the RuntimeOptions implementation into the shared library (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/lib/lib_impl_sources.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/options.dart
===================================================================
--- runtime/lib/options.dart (revision 1379)
+++ runtime/lib/options.dart (working copy)
@@ -1,18 +0,0 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-class RuntimeOptions implements Options {
- List<String> get arguments() {
- if (_arguments === null) {
- // On first access make a copy of the native arguments.
- _arguments = _nativeArguments.getRange(0, _nativeArguments.length);
- }
- return _arguments;
- }
-
- List<String> _arguments = null;
-
- // This arguments singleton is overriden by the embedder if applicable.
- static List<String> _nativeArguments = const [];
-}
« no previous file with comments | « runtime/lib/lib_impl_sources.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698