summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/ppb_flash_shared.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-30 16:19:41 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-30 16:19:41 +0000
commit724fbd317ae5ee1a22add1e0013cb3c08dfe6155 (patch)
treeb8815bd91f10026f2558924185ac04935138ad4b /ppapi/shared_impl/ppb_flash_shared.cc
parente5bbe3d1366b0fda6d68aac22f904fd72f521b59 (diff)
downloadchromium_src-724fbd317ae5ee1a22add1e0013cb3c08dfe6155.zip
chromium_src-724fbd317ae5ee1a22add1e0013cb3c08dfe6155.tar.gz
chromium_src-724fbd317ae5ee1a22add1e0013cb3c08dfe6155.tar.bz2
Move the rest of the Flash functions to the thunk system.
This removes the manual Flash interface registration and adds them via the interfaces_ppb_private_flash.h header. I moved File_ModulalLocal and File_FileRef to the Flash API virtual interface which allowed me to delete the separate proxies and stuff associated with those interfaces. BUG= TEST= Review URL: https://chromiumcodereview.appspot.com/10169040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134540 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/ppb_flash_shared.cc')
-rw-r--r--ppapi/shared_impl/ppb_flash_shared.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/ppapi/shared_impl/ppb_flash_shared.cc b/ppapi/shared_impl/ppb_flash_shared.cc
index c0504bf..e78392c 100644
--- a/ppapi/shared_impl/ppb_flash_shared.cc
+++ b/ppapi/shared_impl/ppb_flash_shared.cc
@@ -12,6 +12,14 @@ PPB_Flash_Shared::PPB_Flash_Shared() {
PPB_Flash_Shared::~PPB_Flash_Shared() {
}
+void PPB_Flash_Shared::FreeDirContents(PP_Instance instance,
+ PP_DirContents_Dev* contents) {
+ for (int32_t i = 0; i < contents->count; ++i)
+ delete[] contents->entries[i].name;
+ delete[] contents->entries;
+ delete contents;
+}
+
// static
bool PPB_Flash_Shared::IsValidClipboardType(
PP_Flash_Clipboard_Type clipboard_type) {