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

Unified Diff: native_client_sdk/src/libraries/nacl_io/fifo_interface.h

Issue 1679643002: nacl_io: Add SOCK_DGRAM support to socketpair() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix unit test failure Created 4 years, 10 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/fifo_interface.h
diff --git a/native_client_sdk/src/libraries/nacl_io/fifo_interface.h b/native_client_sdk/src/libraries/nacl_io/fifo_interface.h
index 38f53d1dee842925c8d9878a6cdc1c0b191157bc..d49640767d7cc1ef1501bff646d2c3f906588fae 100644
--- a/native_client_sdk/src/libraries/nacl_io/fifo_interface.h
+++ b/native_client_sdk/src/libraries/nacl_io/fifo_interface.h
@@ -25,6 +25,8 @@ class FIFOInterface {
virtual size_t ReadAvailable() = 0;
virtual size_t WriteAvailable() = 0;
+ virtual size_t Read(void* buf, size_t len) = 0;
+ virtual size_t Write(const void* buf, size_t len) = 0;
};
} // namespace nacl_io

Powered by Google App Engine
This is Rietveld 408576698