diff options
author | Tamas Zakor <ztamas@inf.u-szeged.hu> | 2019-02-12 16:27:56 +0100 |
---|---|---|
committer | Zakor Tamas <ztamas@inf.u-szeged.hu> | 2019-02-28 08:39:02 +0000 |
commit | b3edbf2a84d96ed1d0307a8ef909b2f1f6c2a971 (patch) | |
tree | 72b52c4a031b986a6ae89a1314c656c97328e65a /.gitattributes | |
parent | 09516a434b0ab9085462ddf854857ac73f86c80a (diff) | |
download | qtwebengine-chromium-b3edbf2a84d96ed1d0307a8ef909b2f1f6c2a971.tar.gz |
[Backport] Make DownloadManagerImpl to generate download IDs for in-progress DB
Chrome assigns a download Id to each new download.
This ID was retrieved from the history DB on start up, and then
keep on incrementing.
For in-progress DB work, download will only be stored to history DB
once they finish.
As a result, the history DB don't have all the Ids on startup.
This CL lets the DownloadManagerImpl to get all Ids from both
history DB and In-progress downloads.
And use the largest Id to issueing out new Ids for new downloads.
This allows in-progress downloads to have their own IDs without
reporting them to history DB.
BUG=842245
Change-Id: I381222cfc53cfe4a79cf7315eb15f040f85edcf4
Reviewed-on: https://chromium-review.googlesource.com/1144311
Commit-Queue: Min Qin <qinmin@chromium.org>
Reviewed-by: Xing Liu <xingliu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579101}
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions