| Index: ppapi/c/dev/ppb_file_system_dev.h
|
| ===================================================================
|
| --- ppapi/c/dev/ppb_file_system_dev.h (revision 92658)
|
| +++ ppapi/c/dev/ppb_file_system_dev.h (working copy)
|
| @@ -5,43 +5,11 @@
|
| #ifndef PPAPI_C_DEV_PPB_FILE_SYSTEM_DEV_H_
|
| #define PPAPI_C_DEV_PPB_FILE_SYSTEM_DEV_H_
|
|
|
| -#include "ppapi/c/dev/pp_file_info_dev.h"
|
| -#include "ppapi/c/pp_bool.h"
|
| -#include "ppapi/c/pp_instance.h"
|
| -#include "ppapi/c/pp_resource.h"
|
| -#include "ppapi/c/pp_stdint.h"
|
| -#include "ppapi/c/pp_time.h"
|
| +#include "ppapi/c/ppb_file_system.h"
|
|
|
| -struct PP_CompletionCallback;
|
| -
|
| #define PPB_FILESYSTEM_DEV_INTERFACE_0_6 "PPB_FileSystem(Dev);0.6"
|
| #define PPB_FILESYSTEM_DEV_INTERFACE PPB_FILESYSTEM_DEV_INTERFACE_0_6
|
|
|
| -struct PPB_FileSystem_Dev {
|
| - /** Creates a filesystem object of the given type. */
|
| - PP_Resource (*Create)(PP_Instance instance, PP_FileSystemType_Dev type);
|
| +typedef struct PPB_FileSystem PPB_FileSystem_Dev;
|
|
|
| - /** Returns PP_TRUE if the given resource is a FileSystem. */
|
| - PP_Bool (*IsFileSystem)(PP_Resource resource);
|
| -
|
| - /**
|
| - * Opens the file system. A file system must be opened before running any
|
| - * other operation on it.
|
| - *
|
| - * TODO(brettw) clarify whether this must have completed before a file can
|
| - * be opened in it. Clarify what it means to be "completed."
|
| - */
|
| - int32_t (*Open)(PP_Resource file_system,
|
| - int64_t expected_size,
|
| - struct PP_CompletionCallback callback);
|
| -
|
| - /**
|
| - * Returns the type of the given file system.
|
| - *
|
| - * Returns PP_FILESYSTEMTYPE_INVALID if the given resource is not a valid
|
| - * filesystem. It is valid to call this function even before Open completes.
|
| - */
|
| - PP_FileSystemType_Dev (*GetType)(PP_Resource file_system);
|
| -};
|
| -
|
| #endif /* PPAPI_C_DEV_PPB_FILE_SYSTEM_DEV_H_ */
|
|
|