Index: ppapi/thunk/ppb_file_io_api.h |
diff --git a/ppapi/thunk/ppb_file_io_api.h b/ppapi/thunk/ppb_file_io_api.h |
index b7b3d90d930ae17dd3a07887b4f9f9cf54da4468..ec7f16d1140ed3e33643ca52b3aea10f9bf08964 100644 |
--- a/ppapi/thunk/ppb_file_io_api.h |
+++ b/ppapi/thunk/ppb_file_io_api.h |
@@ -7,6 +7,7 @@ |
#include "base/memory/ref_counted.h" |
#include "ppapi/c/ppb_file_io.h" |
+#include "ppapi/c/private/pp_file_handle.h" |
#include "ppapi/thunk/ppapi_thunk_export.h" |
namespace ppapi { |
@@ -51,6 +52,11 @@ class PPAPI_THUNK_EXPORT PPB_FileIO_API { |
scoped_refptr<TrackedCallback> callback) = 0; |
virtual int32_t WillSetLength(int64_t length, |
scoped_refptr<TrackedCallback> callback) = 0; |
+ |
+ // Private API. |
+ virtual int32_t RequestOSFileHandle( |
+ PP_FileHandle* handle, |
+ scoped_refptr<TrackedCallback> callback) = 0; |
}; |
} // namespace thunk |