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

Unified Diff: ppapi/c/private/ppb_flash_file.h

Issue 6594099: Pepper/Flapper: Get rid of unimplemented private file ref stuff and implement proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
« no previous file with comments | « no previous file | ppapi/proxy/dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_flash_file.h
diff --git a/ppapi/c/private/ppb_flash_file.h b/ppapi/c/private/ppb_flash_file.h
index 9e2def9c9914ec5183a8281eae0fd12023017a1a..9b674fada6f2d7a4dca2bf338489eb80f7f9fdb9 100644
--- a/ppapi/c/private/ppb_flash_file.h
+++ b/ppapi/c/private/ppb_flash_file.h
@@ -88,28 +88,20 @@ struct PPB_Flash_File_ModuleLocal {
// PPB_Flash_File_FileRef ------------------------------------------------------
-#define PPB_FLASH_FILE_FILEREF_INTERFACE "PPB_Flash_File_FileRef;1"
+#define PPB_FLASH_FILE_FILEREF_INTERFACE "PPB_Flash_File_FileRef;2"
// This interface provides (for Flash) synchronous access to files whose paths
// are given by a Pepper FileRef. Such FileRefs are typically obtained via the
// Pepper file chooser.
struct PPB_Flash_File_FileRef {
- // The functions below correspond exactly to the ones in the module-local file
- // interface (except in taking FileRefs instead of paths, of course).
+ // The functions below correspond exactly to their module-local counterparts
+ // (except in taking FileRefs instead of paths, of course). We omit the
+ // functionality which we do not provide for FileRefs.
int32_t (*OpenFile)(PP_Resource file_ref_id,
int32_t mode,
PP_FileHandle* file);
- int32_t (*RenameFile)(PP_Resource from_file_ref_id,
- PP_Resource to_file_ref_id);
- int32_t (*DeleteFileOrDir)(PP_Resource file_ref_id,
- PP_Bool recursive);
- int32_t (*CreateDir)(PP_Resource file_ref_id);
int32_t (*QueryFile)(PP_Resource file_ref_id,
struct PP_FileInfo_Dev* info);
- int32_t (*GetDirContents)(PP_Resource file_ref_id,
- struct PP_DirContents_Dev** contents);
- void (*FreeDirContents)(PP_Instance instance,
- struct PP_DirContents_Dev* contents);
};
#endif // PPAPI_C_PRIVATE_PPB_FLASH_FILE_H_
« no previous file with comments | « no previous file | ppapi/proxy/dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698