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

Side by Side Diff: sdk/lib/io/platform_impl.dart

Issue 11612020: Revert "Switch libraries to using new tags." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years 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 | Annotate | Revision Log
« no previous file with comments | « sdk/lib/io/platform.dart ('k') | sdk/lib/io/process.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
6
7 class _Platform { 5 class _Platform {
8 external static int _numberOfProcessors(); 6 external static int _numberOfProcessors();
9 external static String _pathSeparator(); 7 external static String _pathSeparator();
10 external static String _operatingSystem(); 8 external static String _operatingSystem();
11 external static _localHostname(); 9 external static _localHostname();
12 external static _environment(); 10 external static _environment();
13 11
14 static int get numberOfProcessors { 12 static int get numberOfProcessors {
15 return _numberOfProcessors(); 13 return _numberOfProcessors();
16 } 14 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 if (equalsIndex == 0) { 48 if (equalsIndex == 0) {
51 equalsIndex = str.indexOf('=', 1); 49 equalsIndex = str.indexOf('=', 1);
52 } 50 }
53 assert(equalsIndex != -1); 51 assert(equalsIndex != -1);
54 result[str.substring(0, equalsIndex)] = str.substring(equalsIndex + 1); 52 result[str.substring(0, equalsIndex)] = str.substring(equalsIndex + 1);
55 } 53 }
56 return result; 54 return result;
57 } 55 }
58 } 56 }
59 } 57 }
OLDNEW
« no previous file with comments | « sdk/lib/io/platform.dart ('k') | sdk/lib/io/process.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698