Commit e630ba64 authored by sorin@chromium.org's avatar sorin@chromium.org

Fix error handling when download of component updates fails. This line was...

Fix error handling when download of component updates fails. This line was lost during refactoring of error handling for issue 15908002.

Added missing crx->diff_update_failed = true;


BUG=245318

Review URL: https://chromiumcodereview.appspot.com/17551012

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208056 0039d316-1c4b-4281-b951-d872f2087c98
parent e27051d6
......@@ -880,6 +880,7 @@ void CrxUpdateService::OnURLFetchComplete(const net::URLFetcher* source,
if (source->FileErrorOccurred(&error_code) || !FetchSuccess(*source)) {
if (crx->status == CrxUpdateItem::kDownloadingDiff) {
crx->diff_update_failed = true;
size_t count = ChangeItemStatus(CrxUpdateItem::kDownloadingDiff,
CrxUpdateItem::kCanUpdate);
DCHECK_EQ(count, 1ul);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment