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

Side by Side Diff: pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart

Issue 2786183003: [dart:io] Reland: Adds Platform.localeName (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « CHANGELOG.md ('k') | runtime/bin/io_natives.cc » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 import 'dart:_js_helper' show patch; 5 import 'dart:_js_helper' show patch;
6 6
7 @patch 7 @patch
8 class _Directory { 8 class _Directory {
9 @patch 9 @patch
10 static _current() { 10 static _current() {
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 static _environment() { 245 static _environment() {
246 throw new UnsupportedError("Platform._environment"); 246 throw new UnsupportedError("Platform._environment");
247 } 247 }
248 248
249 @patch 249 @patch
250 static String _version() { 250 static String _version() {
251 throw new UnsupportedError("Platform._version"); 251 throw new UnsupportedError("Platform._version");
252 } 252 }
253 253
254 @patch 254 @patch
255 static _ansiSupported() { 255 static String _localeName() {
256 throw new UnsupportedError("Platform._ansiSupported"); 256 throw new UnsupportedError("Platform._localeName");
257 } 257 }
258 } 258 }
259 259
260 @patch 260 @patch
261 class _ProcessUtils { 261 class _ProcessUtils {
262 @patch 262 @patch
263 static void _exit(int status) { 263 static void _exit(int status) {
264 throw new UnsupportedError("ProcessUtils._exit"); 264 throw new UnsupportedError("ProcessUtils._exit");
265 } 265 }
266 266
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 } 594 }
595 } 595 }
596 596
597 @patch 597 @patch
598 class _IOService { 598 class _IOService {
599 @patch 599 @patch
600 static Future _dispatch(int request, List data) { 600 static Future _dispatch(int request, List data) {
601 throw new UnsupportedError("_IOService._dispatch"); 601 throw new UnsupportedError("_IOService._dispatch");
602 } 602 }
603 } 603 }
OLDNEW
« no previous file with comments | « CHANGELOG.md ('k') | runtime/bin/io_natives.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698