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

Unified Diff: runtime/bin/platform.dart

Issue 10112002: Add read-only environment variable access. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add windows error handling. Created 8 years, 8 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
Index: runtime/bin/platform.dart
diff --git a/runtime/bin/platform.dart b/runtime/bin/platform.dart
index 69b57853ffb85a5573927f02c636e3bc14c25fec..4cb3a27d19842f8edfb9e2b7b6ca2684df3cc3b6 100644
--- a/runtime/bin/platform.dart
+++ b/runtime/bin/platform.dart
@@ -33,4 +33,9 @@ interface Platform default _Platform {
* Get the local hostname for the system.
*/
String localHostname();
+
+ /**
+ * Get the environment for this process.
+ */
+ Map<String, String> environment();
}

Powered by Google App Engine
This is Rietveld 408576698