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

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

Issue 2626043006: Fuchsia: Disable service origin check. Bind service to all interfaces. (Closed)
Patch Set: Created 3 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
« runtime/bin/vmservice/server.dart ('K') | « runtime/bin/vmservice/server.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/platform.dart
diff --git a/sdk/lib/io/platform.dart b/sdk/lib/io/platform.dart
index d881ce599f47b73ec89f0243d3c5cd975f10f186..75f7ffd0e46b49bc7e0d9cbe574af6ce8f5d8c2e 100644
--- a/sdk/lib/io/platform.dart
+++ b/sdk/lib/io/platform.dart
@@ -120,6 +120,11 @@ class Platform {
static final bool isIOS = (_operatingSystem == "ios");
/**
+ * Returns true if the operating system is Fuchsia
+ */
+ static final bool isFuchsia = (_operatingSystem == "fuchsia");
+
+ /**
* Get the environment for this process.
*
* The returned environment is an unmodifiable map which content is
« runtime/bin/vmservice/server.dart ('K') | « runtime/bin/vmservice/server.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698