namespace storage {

DirectoryEntry::DirectoryEntry() : is_directory(false) {}

DirectoryEntry::DirectoryEntry(const std::string& name, DirectoryEntryType type)
    : name(base::FilePath::FromUTF8Unsafe(name).value()),
      is_directory(type == DIRECTORY) {}

}  // namespace storage
