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

Unified Diff: native_client_sdk/src/libraries/nacl_io/fifo_char.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_char.h
diff --git a/native_client_sdk/src/libraries/nacl_io/fifo_char.h b/native_client_sdk/src/libraries/nacl_io/fifo_char.h
index 27cec2f352988c3cdac3aa6efdf95ffff7c3c073..8f026f29e1031d446e57057662884bb6c3bc002f 100644
--- a/native_client_sdk/src/libraries/nacl_io/fifo_char.h
+++ b/native_client_sdk/src/libraries/nacl_io/fifo_char.h
@@ -34,11 +34,11 @@ class FIFOChar : public FIFOInterface {
// Reads out the data making room in the FIFO. Returns actual amount
// read.
- size_t Read(void* buf, size_t len);
+ virtual size_t Read(void* buf, size_t len);
// Writes into the FIFO no more than len bytes, returns actual amount
// written.
- size_t Write(const void* buf, size_t len);
+ virtual size_t Write(const void* buf, size_t len);
private:
char* buffer_;

Powered by Google App Engine
This is Rietveld 408576698