OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 WEBKIT_FILEAPI_DIRECTORY_ENTRY_H_ | 5 #ifndef WEBKIT_COMMON_FILEAPI_DIRECTORY_ENTRY_H_ |
6 #define WEBKIT_FILEAPI_DIRECTORY_ENTRY_H_ | 6 #define WEBKIT_COMMON_FILEAPI_DIRECTORY_ENTRY_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
11 | 11 |
12 namespace fileapi { | 12 namespace fileapi { |
13 | 13 |
14 // Holds metadata for file or directory entry. | 14 // Holds metadata for file or directory entry. |
15 struct DirectoryEntry { | 15 struct DirectoryEntry { |
16 base::FilePath::StringType name; | 16 base::FilePath::StringType name; |
17 bool is_directory; | 17 bool is_directory; |
18 int64 size; | 18 int64 size; |
19 base::Time last_modified_time; | 19 base::Time last_modified_time; |
20 }; | 20 }; |
21 | 21 |
22 } | 22 } |
23 | 23 |
24 #endif // WEBKIT_FILEAPI_DIRECTORY_ENTRY_H_ | 24 #endif // WEBKIT_COMMON_FILEAPI_DIRECTORY_ENTRY_H_ |
OLD | NEW |