diff options
Diffstat (limited to 'storage/common/fileapi/directory_entry.cc')
-rw-r--r-- | storage/common/fileapi/directory_entry.cc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/storage/common/fileapi/directory_entry.cc b/storage/common/fileapi/directory_entry.cc index 477ede8..f972745 100644 --- a/storage/common/fileapi/directory_entry.cc +++ b/storage/common/fileapi/directory_entry.cc @@ -6,16 +6,10 @@ namespace storage { -DirectoryEntry::DirectoryEntry() : is_directory(false), size(0) {} +DirectoryEntry::DirectoryEntry() : is_directory(false) {} -DirectoryEntry::DirectoryEntry(const std::string& name, - DirectoryEntryType type, - int64 size, - const base::Time& last_modified_time) +DirectoryEntry::DirectoryEntry(const std::string& name, DirectoryEntryType type) : name(base::FilePath::FromUTF8Unsafe(name).value()), - is_directory(type == DIRECTORY), - size(size), - last_modified_time(last_modified_time) { -} + is_directory(type == DIRECTORY) {} } // namespace storage |