Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: ppapi/c/ppb_file_ref.h

Issue 7210027: Part I of many. Moving FileIO, FileRef, and FileSystem out of Dev. For now, just copying over s... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_ */

Powered by Google App Engine
This is Rietveld 408576698