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

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

Issue 9159013: Add script attribute to Options class, providing the name of the running script. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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 | « no previous file | corelib/src/options.dart » ('j') | corelib/src/options.dart » ('J')
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
index 2d81762d01a5ebe6fa506da645a9cc94206109ac..00169ca973dd83fa155ca6b39b921829727393eb 100644
--- a/corelib/src/implementation/options.dart
+++ b/corelib/src/implementation/options.dart
@@ -11,8 +11,14 @@ class RuntimeOptions implements Options {
return _arguments;
}
+ String get script() {
+ return _nativeScript;
+ }
+
List<String> _arguments = null;
// This arguments singleton is overriden by the embedder if applicable.
Mads Ager (google) 2012/01/20 11:38:03 overridden?
Bill Hesse 2012/01/20 16:05:58 written, written to.
static List<String> _nativeArguments = const [];
+
+ static String _nativeScript = null;
Mads Ager (google) 2012/01/20 11:38:03 Add a comment similar to the one above that this i
}
« no previous file with comments | « no previous file | corelib/src/options.dart » ('j') | corelib/src/options.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698