Index: ppapi/c/ppb_file_ref.h |
=================================================================== |
--- ppapi/c/ppb_file_ref.h (revision 89748) |
+++ ppapi/c/ppb_file_ref.h (working copy) |
@@ -2,23 +2,23 @@ |
* 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_REF_DEV_H_ |
-#define PPAPI_C_DEV_PPB_FILE_REF_DEV_H_ |
+#ifndef PPAPI_C_PPB_FILE_REF_H_ |
+#define PPAPI_C_PPB_FILE_REF_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_var.h" |
struct PP_CompletionCallback; |
-#define PPB_FILEREF_DEV_INTERFACE_0_7 "PPB_FileRef(Dev);0.7" |
-#define PPB_FILEREF_DEV_INTERFACE PPB_FILEREF_DEV_INTERFACE_0_7 |
+#define PPB_FILEREF_INTERFACE_1_0 "PPB_FileRef;1.0" |
nfullagar
2011/06/21 20:15:23
See previous comment about interface # < 1.0
Sang Ahn
2011/06/21 20:41:08
Done.
|
+#define PPB_FILEREF_INTERFACE PPB_FILEREF_INTERFACE_1_0 |
// A FileRef is a "weak pointer" to a file in a file system. It contains a |
// PP_FileSystemType identifier and a file path string. |
-struct PPB_FileRef_Dev { |
+struct PPB_FileRef { |
// Creates a weak pointer to a file in the given filesystem. File paths are |
// POSIX style. Returns 0 if the path is malformed. |
PP_Resource (*Create)(PP_Resource file_system, const char* path); |
@@ -29,7 +29,7 @@ |
// Returns the file system identifier of this file, or |
// PP_FILESYSTEMTYPE_INVALID if the file ref is invalid. |
- PP_FileSystemType_Dev (*GetFileSystemType)(PP_Resource file_ref); |
+ PP_FileSystemType (*GetFileSystemType)(PP_Resource file_ref); |
// Returns the name of the file. The value returned by this function does not |
// include any path component (such as the name of the parent directory, for |
@@ -78,5 +78,4 @@ |
struct PP_CompletionCallback callback); |
}; |
-#endif /* PPAPI_C_DEV_PPB_FILE_REF_DEV_H_ */ |
- |
+#endif /* PPAPI_C_PPB_FILE_REF_H_ */ |