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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of dart.io; 5 part of dart.io;
6 6
7 /** 7 /**
8 * Information about the environment in which the current program is running. 8 * Information about the environment in which the current program is running.
9 * 9 *
10 * Platform provides information such as the operating system, 10 * Platform provides information such as the operating system,
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 * Returns true if the operating system is Android. 113 * Returns true if the operating system is Android.
114 */ 114 */
115 static final bool isAndroid = (_operatingSystem == "android"); 115 static final bool isAndroid = (_operatingSystem == "android");
116 116
117 /** 117 /**
118 * Returns true if the operating system is iOS. 118 * Returns true if the operating system is iOS.
119 */ 119 */
120 static final bool isIOS = (_operatingSystem == "ios"); 120 static final bool isIOS = (_operatingSystem == "ios");
121 121
122 /** 122 /**
123 * Returns true if the operating system is Fuchsia
124 */
125 static final bool isFuchsia = (_operatingSystem == "fuchsia");
126
127 /**
123 * Get the environment for this process. 128 * Get the environment for this process.
124 * 129 *
125 * The returned environment is an unmodifiable map which content is 130 * The returned environment is an unmodifiable map which content is
126 * retrieved from the operating system on its first use. 131 * retrieved from the operating system on its first use.
127 * 132 *
128 * Environment variables on Windows are case-insensitive. The map 133 * Environment variables on Windows are case-insensitive. The map
129 * returned on Windows is therefore case-insensitive and will convert 134 * returned on Windows is therefore case-insensitive and will convert
130 * all keys to upper case. On other platforms the returned map is 135 * all keys to upper case. On other platforms the returned map is
131 * a standard case-sensitive map. 136 * a standard case-sensitive map.
132 */ 137 */
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 /** 206 /**
202 * Returns the version of the current Dart runtime. 207 * Returns the version of the current Dart runtime.
203 * 208 *
204 * The returned `String` is formatted as the 209 * The returned `String` is formatted as the
205 * [semver](http://semver.org) version string of the current dart 210 * [semver](http://semver.org) version string of the current dart
206 * runtime, possibly followed by whitespace and other version and 211 * runtime, possibly followed by whitespace and other version and
207 * build details. 212 * build details.
208 */ 213 */
209 static String get version => _version; 214 static String get version => _version;
210 } 215 }
OLDNEW
« 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