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

Unified Diff: sdk/lib/_internal/lib/io_patch.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 | « runtime/bin/platform_patch.dart ('k') | sdk/lib/io/platform.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/lib/io_patch.dart
diff --git a/sdk/lib/_internal/lib/io_patch.dart b/sdk/lib/_internal/lib/io_patch.dart
index e41a2ce63e58d11cfe4b6f7ddf0bf3f1b4bbe629..4216317a3381784cef11b8c45e92851893c9f9f3 100644
--- a/sdk/lib/_internal/lib/io_patch.dart
+++ b/sdk/lib/_internal/lib/io_patch.dart
@@ -163,7 +163,13 @@ patch class _Platform {
throw new UnsupportedError("Platform._localHostname");
}
patch static _executable() {
- throw new UnsupportedError("Platform_Executable");
+ throw new UnsupportedError("Platform._executable");
+ }
+ patch static List<String> _executableArguments() {
+ throw new UnsupportedError("Platform._executableArguments");
+ }
+ patch static String _packageRoot() {
+ throw new UnsupportedError("Platform._packageRoot");
}
patch static _environment() {
throw new UnsupportedError("Platform._environment");
« no previous file with comments | « runtime/bin/platform_patch.dart ('k') | sdk/lib/io/platform.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698