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

Issue 10913015: Reland DownloadManager::GetAllDownloads actually does now (Closed)

Created:
8 years, 3 months ago by benjhayden
Modified:
8 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, rdsmith+dwatch_chromium.org
Visibility:
Public.

Description

Reland Make DownloadManager::GetAllDownloads return all downloads regardless of state, persistence, temporariness, or save page. Callers such as download_status_updater_mac now need to explicitly check whether filenames are empty. Also change some callers from SearchDownloads() over to GetAllDownloads(). This is an experiment in preparation for DownloadHistory-that-is-an-Observer, which removes the persisted concept from content. http://codereview.chromium.org/10665049/ I tried to inspect each caller in this CL to check that it would be ok with this change, but I might have missed something. Reviewers breakdown: Done: rdsmith: * jam: chrome/browser/automation michaeln: chrome/browser/browsing_data jcivelli: content/public/test Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155351 BUG=147359 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155829

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Patch Set 9 : . #

Patch Set 10 : . #

Total comments: 4

Patch Set 11 : . #

Patch Set 12 : . #

Patch Set 13 : . #

Patch Set 14 : . #

Patch Set 15 : . #

Patch Set 16 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -122 lines) Patch
M chrome/browser/automation/automation_provider_observers.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/automation/automation_provider_observers.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +6 lines, -14 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +3 lines, -24 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/gdata/drive_download_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/download/download_browsertest.cc View 1 2 3 4 5 6 7 4 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/download/download_status_updater.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/download/download_status_updater_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/download/download_status_updater_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/download/download_browsertest.cc View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/download/download_manager_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -4 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -32 lines 0 comments Download
M content/browser/download/drag_download_file.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -3 lines 0 comments Download
M content/public/browser/download_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -11 lines 0 comments Download
M content/public/test/download_test_observer.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -5 lines 0 comments Download
M content/public/test/mock_download_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
benjhayden
PTAL
8 years, 3 months ago (2012-09-04 21:08:36 UTC) #1
Randy Smith (Not in Mondays)
Fix the issue description so that it includes the missing right angle brackets. Beyond that, ...
8 years, 3 months ago (2012-09-05 17:45:43 UTC) #2
benjhayden
http://codereview.chromium.org/10913015/diff/4002/chrome/browser/download/download_browsertest.cc File chrome/browser/download/download_browsertest.cc (right): http://codereview.chromium.org/10913015/diff/4002/chrome/browser/download/download_browsertest.cc#newcode1 chrome/browser/download/download_browsertest.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 3 months ago (2012-09-05 20:56:57 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/10913015/9022
8 years, 3 months ago (2012-09-06 15:49:03 UTC) #4
commit-bot: I haz the power
Presubmit check for 10913015-9022 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 3 months ago (2012-09-06 15:49:12 UTC) #5
benjhayden
John, Michael, Jay: PTAL for OWNERShip at your respective directories (enumerated in CL description)
8 years, 3 months ago (2012-09-06 16:25:34 UTC) #6
Jay Civelli
LGTM for content/public/test/
8 years, 3 months ago (2012-09-06 17:04:12 UTC) #7
michaeln
lgtm (chrome/browser/browser_data)
8 years, 3 months ago (2012-09-06 20:03:40 UTC) #8
jam
lgtm
8 years, 3 months ago (2012-09-06 21:00:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/10913015/9022
8 years, 3 months ago (2012-09-06 21:02:56 UTC) #10
commit-bot: I haz the power
Change committed as 155351
8 years, 3 months ago (2012-09-07 07:06:59 UTC) #11
benjhayden
Randy, PTAL for reland. Only change is an early-return in download_status_updater_mac.mm.
8 years, 3 months ago (2012-09-08 17:35:45 UTC) #12
Avi (use Gerrit)
Mac updater code LGTM
8 years, 3 months ago (2012-09-08 17:39:07 UTC) #13
Randy Smith (Not in Mondays)
I'd like Avi to review that change--adding him to the reviewer list. Confirming: You skimmed ...
8 years, 3 months ago (2012-09-08 17:39:09 UTC) #14
Randy Smith (Not in Mondays)
To be clear: LGTM, presuming you skimmed through the consumers.
8 years, 3 months ago (2012-09-08 17:44:17 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/10913015/16001
8 years, 3 months ago (2012-09-10 19:20:53 UTC) #16
commit-bot: I haz the power
8 years, 3 months ago (2012-09-10 21:18:06 UTC) #17
Change committed as 155829

Powered by Google App Engine
This is Rietveld 408576698