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

Side by Side Diff: sdk/lib/_internal/js_runtime/lib/io_patch.dart

Issue 2785073002: [dart:io] Adds Platform.localeName (Closed)
Patch Set: Update CHANGELOG 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
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 243
244 @patch 244 @patch
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
254 @patch
255 static String _localeName() {
256 throw new UnsupportedError("Platform._localeName");
257 }
vsm 2017/03/30 17:38:55 DBC Can you add the same here as well? https://g
zra 2017/03/30 17:48:38 It doesn't look like that's the right thing to do.
vsm 2017/03/30 18:00:14 It used to be. It is now applied against the bleed
zra 2017/03/30 18:08:19 No, it doesn't look like it. For example, _Platfor
zra 2017/03/30 19:09:47 Anyhow, I removed _Platform._ansiSupported and add
253 } 258 }
254 259
255 @patch 260 @patch
256 class _ProcessUtils { 261 class _ProcessUtils {
257 @patch 262 @patch
258 static void _exit(int status) { 263 static void _exit(int status) {
259 throw new UnsupportedError("ProcessUtils._exit"); 264 throw new UnsupportedError("ProcessUtils._exit");
260 } 265 }
261 266
262 @patch 267 @patch
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
589 } 594 }
590 } 595 }
591 596
592 @patch 597 @patch
593 class _IOService { 598 class _IOService {
594 @patch 599 @patch
595 static Future _dispatch(int request, List data) { 600 static Future _dispatch(int request, List data) {
596 throw new UnsupportedError("_IOService._dispatch"); 601 throw new UnsupportedError("_IOService._dispatch");
597 } 602 }
598 } 603 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698