Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1218)

Issue 102993014: Reset is_completed_ before attempting a new crx component download. (Closed)

Created:
7 years ago by Sorin Jianu
Modified:
7 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

Reset is_completed_ before attempting a new crx component download. When downloading a url, the state of the BackgroundDownloader must be reset. A better solution later on would be implementing a BitsFetcher that can only do one download, similar to UrlFetcher. This avoids the situation when dirty state post-download is carried over to a subsequent download. BUG=304354 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=242108

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M chrome/browser/component_updater/background_downloader_win.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Sorin Jianu
I've found a bug when attempting to download from multiple urls. After completing and failing ...
7 years ago (2013-12-19 23:03:55 UTC) #1
waffles
lgtm; single comment is not impactful https://codereview.chromium.org/102993014/diff/1/chrome/browser/component_updater/background_downloader_win.cc File chrome/browser/component_updater/background_downloader_win.cc (right): https://codereview.chromium.org/102993014/diff/1/chrome/browser/component_updater/background_downloader_win.cc#newcode408 chrome/browser/component_updater/background_downloader_win.cc:408: download_start_time_ = base::Time::Now(); ...
7 years ago (2013-12-19 23:21:24 UTC) #2
Sorin Jianu
https://codereview.chromium.org/102993014/diff/1/chrome/browser/component_updater/background_downloader_win.cc File chrome/browser/component_updater/background_downloader_win.cc (right): https://codereview.chromium.org/102993014/diff/1/chrome/browser/component_updater/background_downloader_win.cc#newcode408 chrome/browser/component_updater/background_downloader_win.cc:408: download_start_time_ = base::Time::Now(); On 2013/12/19 23:21:24, waffles wrote: > ...
7 years ago (2013-12-19 23:30:04 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sorin@chromium.org/102993014/20001
7 years ago (2013-12-19 23:33:54 UTC) #4
cpu_(ooo_6.6-7.5)
lgtm
7 years ago (2013-12-20 00:06:46 UTC) #5
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=238780
7 years ago (2013-12-20 02:58:38 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sorin@chromium.org/102993014/20001
7 years ago (2013-12-20 03:03:06 UTC) #7
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=108441
7 years ago (2013-12-20 10:40:11 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sorin@chromium.org/102993014/20001
7 years ago (2013-12-20 14:55:25 UTC) #9
commit-bot: I haz the power
7 years ago (2013-12-20 17:02:23 UTC) #10
Message was sent while issue was closed.
Change committed as 242108

Powered by Google App Engine
This is Rietveld 408576698