/* */ #ifndef D_DOWNLOAD_RESULT_H #define D_DOWNLOAD_RESULT_H #include "common.h" #include #include #include #include #include "error_code.h" #include "RequestGroup.h" namespace aria2 { class Option; class FileEntry; class MetadataInfo; struct DownloadResult { // This field contains GID. See comment in // RequestGroup.cc::belongsToGID_. a2_gid_t belongsTo; uint64_t sessionDownloadLength; std::chrono::milliseconds sessionTime; int64_t totalLength; int64_t completedLength; int64_t uploadLength; std::shared_ptr gid; std::shared_ptr