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

Unified Diff: runtime/bin/builtin.dart

Issue 43773004: dart:platform | Remove isWindows, isLinux, isAndroid, isMacOS from dart:platform. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add comment about removing dart:io Platform Created 7 years, 2 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 | « no previous file | runtime/lib/platform_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/builtin.dart
diff --git a/runtime/bin/builtin.dart b/runtime/bin/builtin.dart
index 93c7a7bee7404473691ec295827ab977fe5aa3e7..047cd845ba43f7712b6b0f34dc5be3f4221d5fa5 100644
--- a/runtime/bin/builtin.dart
+++ b/runtime/bin/builtin.dart
@@ -313,6 +313,10 @@ String _filePathFromHttpUri(Uri uri) {
class _PlatformHook {
+ // TODO(whesse): Replace uses of Platform with uses of internal _Platform
+ // class, to prepare for removal of (deprecated) Platform class.
+ // Also merge _Platform and _PlatformHook class into _Platform class
+ // at that time, since _PlatformHook is the only user of _Platform.
int get numberOfProcessors => Platform.numberOfProcessors;
String get pathSeparator => Platform.pathSeparator;
String get operatingSystem => Platform.operatingSystem;
« no previous file with comments | « no previous file | runtime/lib/platform_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698