Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / native_client_sdk / src / tests / nacl_io_test / mock_fs.h
index 8fe3b34..0ed0387 100644 (file)
@@ -25,6 +25,7 @@ class MockFs : public nacl_io::Filesystem {
   MOCK_METHOD0(Destroy, void());
   MOCK_METHOD2(Access, Error(const Path&, int));
   MOCK_METHOD3(Open, Error(const Path&, int, ScopedNode*));
+  MOCK_METHOD4(OpenWithMode, Error(const Path&, int, mode_t, ScopedNode*));
   MOCK_METHOD2(OpenResource, Error(const Path&, ScopedNode*));
   MOCK_METHOD1(Unlink, Error(const Path&));
   MOCK_METHOD2(Mkdir, Error(const Path&, int));