summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-worker.h
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2019-04-29 20:05:38 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2019-04-30 17:40:38 +0200
commitcccef6ca60c2775e918d964fdad1afc1dcad4d0e (patch)
tree80c39c44bf749e37788748d2485c2ce5a29d6c7b /apt-pkg/acquire-worker.h
parent46ef1a3e8c8895c53ff1e4787dc96d4f6c5dba27 (diff)
acq: worker: Move CurrentSize, TotalSize, ResumePoint to CurrentItem
These status fields belong to the current item, move them there. This prepares us for eventually having multiple current items.
Diffstat (limited to 'apt-pkg/acquire-worker.h')
-rw-r--r--apt-pkg/acquire-worker.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/apt-pkg/acquire-worker.h b/apt-pkg/acquire-worker.h
index 11e54b060..b6d1628f9 100644
--- a/apt-pkg/acquire-worker.h
+++ b/apt-pkg/acquire-worker.h
@@ -251,21 +251,6 @@ class pkgAcquire::Worker : public WeakPointable
*/
std::string Status;
- /** \brief How many bytes of the file have been downloaded. Zero
- * if the current progress of the file cannot be determined.
- */
- unsigned long long CurrentSize;
-
- /** \brief The total number of bytes to be downloaded. Zero if the
- * total size of the final is unknown.
- */
- unsigned long long TotalSize;
-
- /** \brief How much of the file was already downloaded prior to
- * starting this worker.
- */
- unsigned long long ResumePoint;
-
/** \brief Tell the subprocess to download the given item.
*
* \param Item the item to queue up.