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

Unified Diff: runtime/bin/utils_macos.cc

Issue 11275281: Update dart:io to convert strings between UTF8 and current code page (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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/utils_macos.cc
diff --git a/runtime/bin/utils_macos.cc b/runtime/bin/utils_macos.cc
index f364e475700fc02c3e01b21471720b03858b6afb..ab48f555e9d9856a3b30b993600f6f14f809e857 100644
--- a/runtime/bin/utils_macos.cc
+++ b/runtime/bin/utils_macos.cc
@@ -26,3 +26,19 @@ void OSError::SetCodeAndMessage(SubSystem sub_system, int code) {
UNREACHABLE();
}
}
+
+const char* StringUtils::SystemStringToUtf8(const char* str) {
+ return str;
+}
+
+const char* StringUtils::Utf8ToSystemString(const char* utf8) {
+ return utf8;
+}
+
+char* StringUtils::SystemStringToUtf8(char* str) {
+ return str;
+}
+
+char* StringUtils::Utf8ToSystemString(char* utf8) {
+ return utf8;
+}

Powered by Google App Engine
This is Rietveld 408576698