commit | f9c0e04cb04c53076b464486d84ea0f9bf764698 | [log] [tgz] |
---|---|---|
author | qinmin <qinmin@chromium.org> | Tue Jun 28 00:20:56 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jun 28 00:22:45 2016 |
tree | de23f0514d2520b8ffead5d904d6707ef1f3c921 | |
parent | 7bcf27ec48609d582d4dbb1ab97f888ba9cc2b3a [diff] |
capping how many times background download resumption can automatically start If download gets interrupted due to browser kill, we schedule a browser restart. And we could stuck in a cycle of kill->restart->kill. This CL caps the number of auto resumptions. And reset the cap when user relaunches chrome. BUG=623242 Review-Url: https://codereview.chromium.org/2094033002 Cr-Commit-Position: refs/heads/master@{#402340}