summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/ppb_flash_shared.cc
diff options
context:
space:
mode:
authorraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 19:32:42 +0000
committerraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-06 19:32:42 +0000
commit8b73c2e491f6c5d38047963d01b47bb071a96e18 (patch)
treef961ce5d2d358bbda8b41f8c6824d4af5bb2c6b2 /ppapi/shared_impl/ppb_flash_shared.cc
parent1300e92e24e90d850e8b12129c1944569a9e9ce8 (diff)
downloadchromium_src-8b73c2e491f6c5d38047963d01b47bb071a96e18.zip
chromium_src-8b73c2e491f6c5d38047963d01b47bb071a96e18.tar.gz
chromium_src-8b73c2e491f6c5d38047963d01b47bb071a96e18.tar.bz2
Revert 171408
> The refactors PPB_Flash_File_ModuleLocal/FileRef to the new resource model. Calls for both these interfaces are now made directly to the browser. This removes the in-process implementation for these interfaces also (as they are flash-only). Tests are added for PPB_Flash_File_ModuleLocal. > > Review URL: https://codereview.chromium.org/11359097 TBR=raymes@chromium.org Review URL: https://codereview.chromium.org/11437038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171562 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/shared_impl/ppb_flash_shared.cc')
-rw-r--r--ppapi/shared_impl/ppb_flash_shared.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/ppapi/shared_impl/ppb_flash_shared.cc b/ppapi/shared_impl/ppb_flash_shared.cc
new file mode 100644
index 0000000..c310e0e
--- /dev/null
+++ b/ppapi/shared_impl/ppb_flash_shared.cc
@@ -0,0 +1,23 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ppapi/shared_impl/ppb_flash_shared.h"
+
+namespace ppapi {
+
+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;
+}
+
+} // namespace ppapi