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

Unified Diff: runtime/bin/platform_unsupported.cc

Issue 2785073002: [dart:io] Adds Platform.localeName (Closed)
Patch Set: Fixup ddc patch file 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
« no previous file with comments | « runtime/bin/platform_patch.dart ('k') | runtime/bin/platform_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/platform_unsupported.cc
diff --git a/runtime/bin/platform_unsupported.cc b/runtime/bin/platform_unsupported.cc
index 64f62ef7e9bb63af52fa3daa49ef3ac67a847a93..51d4fa9cd62338634eaac83cfdf690a7b1b50d98 100644
--- a/runtime/bin/platform_unsupported.cc
+++ b/runtime/bin/platform_unsupported.cc
@@ -64,6 +64,12 @@ void FUNCTION_NAME(Platform_GetVersion)(Dart_NativeArguments args) {
"Platform is not supported on this platform"));
}
+
+void FUNCTION_NAME(Platform_LocaleName)(Dart_NativeArguments args) {
+ Dart_ThrowException(DartUtils::NewInternalError(
+ "Platform is not supported on this platform"));
+}
+
} // namespace bin
} // namespace dart
« no previous file with comments | « runtime/bin/platform_patch.dart ('k') | runtime/bin/platform_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698