summaryrefslogtreecommitdiffstats
path: root/webkit/plugins/ppapi
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 01:27:26 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-02 01:27:26 +0000
commitd062d9636fb69a79942ada2321fe48e9f326cf8c (patch)
tree411c6f8c59b2f282a2ff539d2a6b22adade8cb84 /webkit/plugins/ppapi
parentc35d5507f07fa3a7820b991b69786c6175590849 (diff)
downloadchromium_src-d062d9636fb69a79942ada2321fe48e9f326cf8c.zip
chromium_src-d062d9636fb69a79942ada2321fe48e9f326cf8c.tar.gz
chromium_src-d062d9636fb69a79942ada2321fe48e9f326cf8c.tar.bz2
Pepper/Flapper: Get rid of unimplemented private file ref stuff and implement proxy.
BUG=none TEST=builds? works? Review URL: http://codereview.chromium.org/6594099 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76488 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/plugins/ppapi')
-rw-r--r--webkit/plugins/ppapi/ppb_flash_file_impl.cc32
1 files changed, 0 insertions, 32 deletions
diff --git a/webkit/plugins/ppapi/ppb_flash_file_impl.cc b/webkit/plugins/ppapi/ppb_flash_file_impl.cc
index 098f233..48e4ab0 100644
--- a/webkit/plugins/ppapi/ppb_flash_file_impl.cc
+++ b/webkit/plugins/ppapi/ppb_flash_file_impl.cc
@@ -251,26 +251,6 @@ int32_t OpenFileRefFile(PP_Resource file_ref_id,
return PlatformFileErrorToPepperError(result);
}
-int32_t RenameFileRefFile(PP_Resource from_file_ref_id,
- PP_Resource to_file_ref_id) {
- // If it proves necessary, it's easy enough to implement.
- NOTIMPLEMENTED();
- return PP_ERROR_FAILED;
-}
-
-int32_t DeleteFileRefFileOrDir(PP_Resource file_ref_id,
- PP_Bool recursive) {
- // If it proves necessary, it's easy enough to implement.
- NOTIMPLEMENTED();
- return PP_ERROR_FAILED;
-}
-
-int32_t CreateFileRefDir(PP_Resource file_ref_id) {
- // If it proves necessary, it's easy enough to implement.
- NOTIMPLEMENTED();
- return PP_ERROR_FAILED;
-}
-
int32_t QueryFileRefFile(PP_Resource file_ref_id,
PP_FileInfo_Dev* info) {
scoped_refptr<PPB_FileRef_Impl> file_ref(
@@ -300,21 +280,9 @@ int32_t QueryFileRefFile(PP_Resource file_ref_id,
return PlatformFileErrorToPepperError(result);
}
-int32_t GetFileRefDirContents(PP_Resource file_ref_id,
- PP_DirContents_Dev** contents) {
- // If it proves necessary, it's easy enough to implement.
- NOTIMPLEMENTED();
- return PP_ERROR_FAILED;
-}
-
const PPB_Flash_File_FileRef ppb_flash_file_fileref = {
&OpenFileRefFile,
- &RenameFileRefFile,
- &DeleteFileRefFileOrDir,
- &CreateFileRefDir,
&QueryFileRefFile,
- &GetFileRefDirContents,
- &FreeDirContents,
};
} // namespace