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

Unified Diff: native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h

Issue 334983007: [NaCl SDK] Remove use of TIOCNACLINPUT from nacl_io/ppapi_simple. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: feedback Created 6 years, 6 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: native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h
diff --git a/native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h b/native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h
index 17038ebb8e13649e52eb0b7880de4865fae7b5e4..f4a28505e6325b77cc0287f44940c4d554f079f4 100644
--- a/native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h
+++ b/native_client_sdk/src/libraries/nacl_io/devfs/tty_node.h
@@ -10,6 +10,8 @@
#include <deque>
+#include <ppapi/c/pp_var.h>
+
#include "nacl_io/char_node.h"
#include "nacl_io/ioctl.h"
#include "nacl_io/ostermios.h"
@@ -43,7 +45,8 @@ class TtyNode : public CharNode {
private:
ScopedEventEmitter emitter_;
- Error ProcessInput(struct tioc_nacl_input_string* message);
+ Error ProcessInput(PP_Var var);
+ Error ProcessInput(const char* buffer, size_t num_bytes);
Error Echo(const char* string, int count);
void InitTermios();

Powered by Google App Engine
This is Rietveld 408576698