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

Unified 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, 9 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
Index: sdk/lib/_internal/js_runtime/lib/io_patch.dart
diff --git a/sdk/lib/_internal/js_runtime/lib/io_patch.dart b/sdk/lib/_internal/js_runtime/lib/io_patch.dart
index 46f8404ab2d636e415774b8926770b43467225d4..e7ed5bef5c6f5f5f6c1b6c8a63e64745b1a69c0b 100644
--- a/sdk/lib/_internal/js_runtime/lib/io_patch.dart
+++ b/sdk/lib/_internal/js_runtime/lib/io_patch.dart
@@ -250,6 +250,11 @@ class _Platform {
static String _version() {
throw new UnsupportedError("Platform._version");
}
+
+ @patch
+ static String _localeName() {
+ throw new UnsupportedError("Platform._localeName");
+ }
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
}
@patch

Powered by Google App Engine
This is Rietveld 408576698