summaryrefslogtreecommitdiffstats
path: root/ppapi/shared_impl/ppb_flash_shared.cc
blob: c310e0ef52e392f965ee3bd61f60b5dc2a3e2a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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