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

Unified Diff: runtime/bin/platform_unsupported.cc

Issue 2739683005: [dart:io] Adds Platform.ansiSupported (Closed)
Patch Set: Cleanup 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: runtime/bin/platform_unsupported.cc
diff --git a/runtime/bin/platform_unsupported.cc b/runtime/bin/platform_unsupported.cc
index 64f62ef7e9bb63af52fa3daa49ef3ac67a847a93..520d9f2ed7b670c8815a8b89ac9dab819c84c2ad 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_AnsiSupported)(Dart_NativeArguments args) {
+ Dart_ThrowException(DartUtils::NewInternalError(
+ "Platform is not supported on this platform"));
+}
+
} // namespace bin
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698