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

Unified Diff: runtime/bin/platform.dart

Issue 10050011: Add member localHostname() to the Dart IO Platform class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 145f3011102892710cf18d009478dea187ac57f6..69b57853ffb85a5573927f02c636e3bc14c25fec 100644
--- a/runtime/bin/platform.dart
+++ b/runtime/bin/platform.dart
@@ -28,4 +28,9 @@ interface Platform default _Platform {
* operating system.
*/
String operatingSystem();
+
+ /**
+ * Get the local hostname for the system.
+ */
+ String localHostname();
}

Powered by Google App Engine
This is Rietveld 408576698