Index: ppapi/tests/test_file_io.h |
diff --git a/ppapi/tests/test_file_io.h b/ppapi/tests/test_file_io.h |
index 0140824443a533df87caf582d7a730cefe17fb31..a9f85f5030bcec0eb4f8c1adbd5ecb550f02ea59 100644 |
--- a/ppapi/tests/test_file_io.h |
+++ b/ppapi/tests/test_file_io.h |
@@ -9,6 +9,10 @@ |
#include "ppapi/tests/test_case.h" |
+namespace pp { |
+class FileSystem_Dev; |
+} // namespace pp |
+ |
class TestFileIO : public TestCase { |
public: |
explicit TestFileIO(TestingInstance* instance) : TestCase(instance) {} |
@@ -22,6 +26,14 @@ class TestFileIO : public TestCase { |
std::string TestReadWriteSetLength(); |
std::string TestTouchQuery(); |
std::string TestAbortCalls(); |
+ |
+ // Helper method used by TestOpen(). |
+ std::string MatchOpenExpectation(pp::FileSystem_Dev* file_system, |
+ size_t open_flags, |
+ bool invalid_combination, |
+ bool create_if_not_exist, |
+ bool open_if_exist, |
+ bool truncate_if_exist); |
}; |
#endif // PAPPI_TESTS_TEST_FILE_IO_H_ |