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 242533005: [NaCl SDK] nacl_io: Add flow control the JavaScript pipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 e38034aef6e5f622765d37399880efb155d45f5f..2f43db6e0b9270824eed009416fadb54009620a3 100644
--- a/native_client_sdk/src/libraries/nacl_io/fifo_char.h
+++ b/native_client_sdk/src/libraries/nacl_io/fifo_char.h
@@ -25,8 +25,8 @@ class FIFOChar : public FIFOInterface {
virtual bool IsFull();
virtual bool Resize(size_t len);
- size_t ReadAvailable();
- size_t WriteAvailable();
+ virtual size_t ReadAvailable();
+ virtual size_t WriteAvailable();
// Reads out no more than the requested len without updating the tail.
// Returns actual amount read.
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/event_emitter.h ('k') | native_client_sdk/src/libraries/nacl_io/fs_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698