OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef PPAPI_SHARED_IMPL_DIR_CONTENTS_H_ | 5 #ifndef PPAPI_SHARED_IMPL_DIR_CONTENTS_H_ |
6 #define PPAPI_SHARED_IMPL_DIR_CONTENTS_H_ | 6 #define PPAPI_SHARED_IMPL_DIR_CONTENTS_H_ |
7 | 7 |
8 | |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
12 | 11 |
13 namespace ppapi { | 12 namespace ppapi { |
14 | 13 |
15 struct DirEntry { | 14 struct DirEntry { |
16 base::FilePath name; | 15 base::FilePath name; |
17 bool is_dir; | 16 bool is_dir; |
18 }; | 17 }; |
19 | 18 |
20 typedef std::vector<DirEntry> DirContents; | 19 typedef std::vector<DirEntry> DirContents; |
21 | 20 |
22 } // namespace ppapi | 21 } // namespace ppapi |
23 | 22 |
24 #endif // PPAPI_SHARED_IMPL_DIR_CONTENTS_H_ | 23 #endif // PPAPI_SHARED_IMPL_DIR_CONTENTS_H_ |
OLD | NEW |