Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(838)

Side by Side Diff: webkit/common/fileapi/directory_entry.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/common/fileapi/OWNERS ('k') | webkit/common/fileapi/directory_entry.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_COMMON_FILEAPI_DIRECTORY_ENTRY_H_
6 #define WEBKIT_COMMON_FILEAPI_DIRECTORY_ENTRY_H_
7
8 #include <string>
9
10 #include "base/basictypes.h"
11 #include "base/files/file_path.h"
12 #include "base/time/time.h"
13 #include "webkit/common/webkit_storage_common_export.h"
14
15 namespace fileapi {
16
17 // Holds metadata for file or directory entry.
18 struct WEBKIT_STORAGE_COMMON_EXPORT DirectoryEntry {
19 enum DirectoryEntryType {
20 FILE,
21 DIRECTORY,
22 };
23
24 DirectoryEntry();
25 DirectoryEntry(const std::string& name,
26 DirectoryEntryType type,
27 int64 size,
28 const base::Time& last_modified_time);
29
30 base::FilePath::StringType name;
31 bool is_directory;
32 int64 size;
33 base::Time last_modified_time;
34 };
35
36 } // namespace fileapi
37
38 #endif // WEBKIT_COMMON_FILEAPI_DIRECTORY_ENTRY_H_
OLDNEW
« no previous file with comments | « webkit/common/fileapi/OWNERS ('k') | webkit/common/fileapi/directory_entry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698