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

Unified Diff: native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_util.h

Issue 2455973003: [NaCl SDK] Refactor FakeFileSystemInterface. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 11e6103e11626f298d51737830364dfa9855ccf9..6089663e0e6e7cc2466dcd6d45baa04f25f2ee82 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
@@ -32,6 +32,14 @@ class FakeFileSystemResource : public FakeResource {
bool opened;
};
+class FakeHtml5FsResource : public FakeResource {
+ public:
+ FakeHtml5FsResource() : filesystem_template(NULL) {}
+ static const char* classname() { return "FakeHtml5FsResource"; }
+
+ FakeHtml5FsFilesystem* filesystem_template; // Weak reference.
+};
+
int32_t RunCompletionCallback(PP_CompletionCallback* callback, int32_t result);
#endif // LIBRARIES_NACL_IO_TEST_FAKE_UTIL_H_
« no previous file with comments | « native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698