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

Unified Diff: runtime/bin/stdio_fuchsia.cc

Issue 2585443002: Error checking for Stdio calls (Closed)
Patch Set: Fix Windows Created 4 years 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/stdio_android.cc ('k') | runtime/bin/stdio_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/stdio_fuchsia.cc
diff --git a/runtime/bin/stdio_fuchsia.cc b/runtime/bin/stdio_fuchsia.cc
index e29749988373aedb3ade708c299a454a3da2e1ab..8b77fbce46ae97df2dabcb9c589adff2b304f3b9 100644
--- a/runtime/bin/stdio_fuchsia.cc
+++ b/runtime/bin/stdio_fuchsia.cc
@@ -12,31 +12,33 @@
namespace dart {
namespace bin {
-int Stdin::ReadByte() {
+bool Stdin::ReadByte(int* byte) {
UNIMPLEMENTED();
- return -1;
+ return false;
}
-bool Stdin::GetEchoMode() {
+bool Stdin::GetEchoMode(bool* enabled) {
UNIMPLEMENTED();
return false;
}
-void Stdin::SetEchoMode(bool enabled) {
+bool Stdin::SetEchoMode(bool enabled) {
UNIMPLEMENTED();
+ return false;
}
-bool Stdin::GetLineMode() {
+bool Stdin::GetLineMode(bool* enabled) {
UNIMPLEMENTED();
return false;
}
-void Stdin::SetLineMode(bool enabled) {
+bool Stdin::SetLineMode(bool enabled) {
UNIMPLEMENTED();
+ return false;
}
« no previous file with comments | « runtime/bin/stdio_android.cc ('k') | runtime/bin/stdio_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698