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

Unified Diff: ppapi/tests/test_file_io.h

Issue 7038032: Fix PP_FileOpenFlags_Dev handling: (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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: 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_

Powered by Google App Engine
This is Rietveld 408576698