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

Unified Diff: corelib/src/implementation/options.dart

Issue 10890030: Move core and coreimpl from corelib/ to lib/core and lib/coreimpl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « corelib/src/implementation/object.dart ('k') | corelib/src/implementation/print.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/implementation/options.dart
diff --git a/corelib/src/implementation/options.dart b/corelib/src/implementation/options.dart
deleted file mode 100644
index b1be269e50acc53c2cfe6cd548f8d1af08f0a355..0000000000000000000000000000000000000000
--- a/corelib/src/implementation/options.dart
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2012, 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;
- }
-
- String get executable() {
- return _nativeExecutable;
- }
-
- String get script() {
- return _nativeScript;
- }
-
- List<String> _arguments = null;
-
- // This arguments singleton is written to by the embedder if applicable.
- static List<String> _nativeArguments = const [];
-
- // This executable singleton is written to by the embedder if applicable.
- static String _nativeExecutable = '';
-
- // This script singleton is written to by the embedder if applicable.
- static String _nativeScript = '';
-}
« no previous file with comments | « corelib/src/implementation/object.dart ('k') | corelib/src/implementation/print.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698