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

Issue 134373003: Return error to chrome.downloads.removeFile (Closed)

Created:
6 years, 11 months ago by benjhayden
Modified:
6 years, 11 months ago
CC:
chromium-reviews, asanka, extensions-reviews_chromium.org, benjhayden+dwatch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Return error to chrome.downloads.removeFile BUG=321305 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245541

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Total comments: 8

Patch Set 4 : comments #

Patch Set 5 : always run callback #

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -57 lines) Patch
M chrome/browser/extensions/api/downloads/downloads_api.h View 1 2 3 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 2 3 chunks +9 lines, -24 lines 0 comments Download
M content/browser/download/download_item_impl.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/download/download_item_impl.cc View 1 2 3 4 5 3 chunks +28 lines, -8 lines 0 comments Download
M content/browser/download/download_item_impl_unittest.cc View 2 chunks +2 lines, -10 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/download/download_manager_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/download_item.h View 1 2 3 4 1 chunk +10 lines, -4 lines 0 comments Download
M content/public/test/mock_download_item.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
benjhayden
6 years, 11 months ago (2014-01-12 00:54:43 UTC) #1
asargent_no_longer_on_chrome
extensions part lgtm https://codereview.chromium.org/134373003/diff/140001/chrome/browser/extensions/api/downloads/downloads_api.h File chrome/browser/extensions/api/downloads/downloads_api.h (right): https://codereview.chromium.org/134373003/diff/140001/chrome/browser/extensions/api/downloads/downloads_api.h#newcode44 chrome/browser/extensions/api/downloads/downloads_api.h:44: extern const char kFileNotRemoved[]; nit: Is ...
6 years, 11 months ago (2014-01-14 22:36:03 UTC) #2
benjhayden
https://codereview.chromium.org/134373003/diff/140001/chrome/browser/extensions/api/downloads/downloads_api.h File chrome/browser/extensions/api/downloads/downloads_api.h (right): https://codereview.chromium.org/134373003/diff/140001/chrome/browser/extensions/api/downloads/downloads_api.h#newcode44 chrome/browser/extensions/api/downloads/downloads_api.h:44: extern const char kFileNotRemoved[]; On 2014/01/14 22:36:04, Antony Sargent ...
6 years, 11 months ago (2014-01-16 00:13:24 UTC) #3
benjhayden
Asanka, mind reviewing my DownloadItem[Impl] changes?
6 years, 11 months ago (2014-01-16 00:14:22 UTC) #4
asanka
https://codereview.chromium.org/134373003/diff/240001/content/browser/download/download_item_impl.cc File content/browser/download/download_item_impl.cc (right): https://codereview.chromium.org/134373003/diff/240001/content/browser/download/download_item_impl.cc#newcode621 content/browser/download/download_item_impl.cc:621: if ((GetState() != DownloadItem::COMPLETE) || Can you also check ...
6 years, 11 months ago (2014-01-16 16:05:50 UTC) #5
benjhayden
https://codereview.chromium.org/134373003/diff/240001/content/browser/download/download_item_impl.cc File content/browser/download/download_item_impl.cc (right): https://codereview.chromium.org/134373003/diff/240001/content/browser/download/download_item_impl.cc#newcode621 content/browser/download/download_item_impl.cc:621: if ((GetState() != DownloadItem::COMPLETE) || On 2014/01/16 16:05:51, asanka ...
6 years, 11 months ago (2014-01-16 17:09:18 UTC) #6
asanka
Hmm. Wouldn't it be a problem that the callback may not be invoked? Arguably, the ...
6 years, 11 months ago (2014-01-16 18:15:52 UTC) #7
benjhayden
On 2014/01/16 18:15:52, asanka wrote: > Hmm. Wouldn't it be a problem that the callback ...
6 years, 11 months ago (2014-01-16 23:10:19 UTC) #8
benjhayden
On 2014/01/16 18:15:52, asanka wrote: > Hmm. Wouldn't it be a problem that the callback ...
6 years, 11 months ago (2014-01-16 23:10:19 UTC) #9
asanka
lgtm. Thanks!
6 years, 11 months ago (2014-01-16 23:18:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/134373003/620001
6 years, 11 months ago (2014-01-16 23:30:07 UTC) #11
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=45214
6 years, 11 months ago (2014-01-16 23:54:35 UTC) #12
benjhayden
Owners review please. sky: content/public/test/mock_download_item.h joi: content/public/browser/download_item.h Thanks!
6 years, 11 months ago (2014-01-17 00:04:21 UTC) #13
sky
mock_download_item.h LGTM
6 years, 11 months ago (2014-01-17 00:36:58 UTC) #14
Jói
//content/public LGTM.
6 years, 11 months ago (2014-01-17 08:45:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/134373003/620001
6 years, 11 months ago (2014-01-17 15:22:24 UTC) #16
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 17:09:53 UTC) #17
Message was sent while issue was closed.
Change committed as 245541

Powered by Google App Engine
This is Rietveld 408576698