Index: native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.h |
diff --git a/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.h b/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.h |
index 832bc450a54de6eedf43826e4d047415f7526e17..11e6103e11626f298d51737830364dfa9855ccf9 100644 |
--- a/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.h |
+++ b/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.h |
@@ -22,6 +22,16 @@ class FakeFileRefResource : public FakeResource { |
std::string contents; |
}; |
+class FakeFileSystemResource : public FakeResource { |
+ public: |
+ FakeFileSystemResource() : filesystem(NULL), opened(false) {} |
+ ~FakeFileSystemResource() { delete filesystem; } |
+ static const char* classname() { return "FakeFileSystemResource"; } |
+ |
+ FakeHtml5FsFilesystem* filesystem; // Owned. |
+ bool opened; |
+}; |
+ |
int32_t RunCompletionCallback(PP_CompletionCallback* callback, int32_t result); |
#endif // LIBRARIES_NACL_IO_TEST_FAKE_UTIL_H_ |