diff options
Diffstat (limited to 'ppapi/shared_impl/dir_contents.h')
-rw-r--r-- | ppapi/shared_impl/dir_contents.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ppapi/shared_impl/dir_contents.h b/ppapi/shared_impl/dir_contents.h new file mode 100644 index 0000000..23b1ec3 --- /dev/null +++ b/ppapi/shared_impl/dir_contents.h @@ -0,0 +1,24 @@ +// 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. + +#ifndef PPAPI_SHARED_IMPL_DIR_CONTENTS_H_ +#define PPAPI_SHARED_IMPL_DIR_CONTENTS_H_ + + +#include <vector> + +#include "base/file_path.h" + +namespace ppapi { + +struct DirEntry { + FilePath name; + bool is_dir; +}; + +typedef std::vector<DirEntry> DirContents; + +} // namespace ppapi + +#endif // PPAPI_SHARED_IMPL_DIR_CONTENTS_H_ |