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

Unified Diff: sdk/lib/io/platform_impl.dart

Issue 22999033: Add Platform.packageRoot and Platform.executableArguments to dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Improve doc comments. Created 7 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 | « sdk/lib/io/platform.dart ('k') | tests/standalone/io/platform_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/platform_impl.dart
diff --git a/sdk/lib/io/platform_impl.dart b/sdk/lib/io/platform_impl.dart
index 94d67b6224718e1806617edca4465fa7acf4a3ef..56a586916d04af66c7179bebb6b0398bb6882291 100644
--- a/sdk/lib/io/platform_impl.dart
+++ b/sdk/lib/io/platform_impl.dart
@@ -11,6 +11,8 @@ class _Platform {
external static _localHostname();
external static _executable();
external static _environment();
+ external static List<String> _executableArguments();
+ external static String _packageRoot();
external static String _version();
static int get numberOfProcessors => _numberOfProcessors();
@@ -27,6 +29,8 @@ class _Platform {
}
static String executable = _executable();
+ static String packageRoot = _packageRoot();
+ static List<String> get executableArguments => _executableArguments();
static Map<String, String> get environment {
var env = _environment();
« no previous file with comments | « sdk/lib/io/platform.dart ('k') | tests/standalone/io/platform_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698