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-08 00:46:23 +0000
committerraymes@chromium.org <raymes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-08 00:46:23 +0000
commit0c92b0d1079123c39f6e8fbd7eb3ff6503e9bccd (patch)
treeb6defa7168b626436612114c0176b91c84284beb /ppapi/shared_impl/ppb_flash_shared.cc
parente61449d257bd231d718afe97a19a686feac2219d (diff)
downloadchromium_src-0c92b0d1079123c39f6e8fbd7eb3ff6503e9bccd.zip
chromium_src-0c92b0d1079123c39f6e8fbd7eb3ff6503e9bccd.tar.gz
chromium_src-0c92b0d1079123c39f6e8fbd7eb3ff6503e9bccd.tar.bz2
Refactored the PPB_Flash_File_ModuleLocal/FileRef to the new ppapi resource model
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 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171902 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, 0 insertions, 23 deletions
diff --git a/ppapi/shared_impl/ppb_flash_shared.cc b/ppapi/shared_impl/ppb_flash_shared.cc
deleted file mode 100644
index c310e0e..0000000
--- a/ppapi/shared_impl/ppb_flash_shared.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// 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