Chromium Code Reviews| Index: ppapi/c/ppb_file_system.h |
| =================================================================== |
| --- ppapi/c/ppb_file_system.h (revision 89748) |
| +++ ppapi/c/ppb_file_system.h (working copy) |
| @@ -2,11 +2,11 @@ |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| */ |
| -#ifndef PPAPI_C_DEV_PPB_FILE_SYSTEM_DEV_H_ |
| -#define PPAPI_C_DEV_PPB_FILE_SYSTEM_DEV_H_ |
| +#ifndef PPAPI_C_PPB_FILE_SYSTEM_H_ |
| +#define PPAPI_C_PPB_FILE_SYSTEM_H_ |
| -#include "ppapi/c/dev/pp_file_info_dev.h" |
| #include "ppapi/c/pp_bool.h" |
| +#include "ppapi/c/pp_file_info.h" |
| #include "ppapi/c/pp_instance.h" |
| #include "ppapi/c/pp_resource.h" |
| #include "ppapi/c/pp_stdint.h" |
| @@ -14,12 +14,12 @@ |
| struct PP_CompletionCallback; |
| -#define PPB_FILESYSTEM_DEV_INTERFACE_0_5 "PPB_FileSystem(Dev);0.5" |
| -#define PPB_FILESYSTEM_DEV_INTERFACE PPB_FILESYSTEM_DEV_INTERFACE_0_5 |
| +#define PPB_FILESYSTEM_INTERFACE_1_0 "PPB_FileSystem;1.0" |
|
nfullagar
2011/06/21 20:15:23
Please see previous comment re interface number
Sang Ahn
2011/06/21 20:41:08
Done.
|
| +#define PPB_FILESYSTEM_INTERFACE PPB_FILESYSTEM_INTERFACE_1_0 |
| -struct PPB_FileSystem_Dev { |
| +struct PPB_FileSystem { |
| /** Creates a filesystem object of the given type. */ |
| - PP_Resource (*Create)(PP_Instance instance, PP_FileSystemType_Dev type); |
| + PP_Resource (*Create)(PP_Instance instance, PP_FileSystemType type); |
| /** Returns PP_TRUE if the given resource is a FileSystem. */ |
| PP_Bool (*IsFileSystem)(PP_Resource resource); |
| @@ -41,8 +41,7 @@ |
| * 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); |
| + PP_FileSystemType (*GetType)(PP_Resource file_system); |
| }; |
| -#endif /* PPAPI_C_DEV_PPB_FILE_SYSTEM_DEV_H_ */ |
| - |
| +#endif /* PPAPI_C_PPB_FILE_SYSTEM_H_ */ |