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

Issue 6060008: Adding active_downloads_ map. (Closed)

Created:
9 years, 12 months ago by ahendrickson
Modified:
9 years, 7 months ago
CC:
chromium-reviews, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Adding active_downloads_ map. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71052

Patch Set 1 #

Total comments: 5

Patch Set 2 : Extend lifetime of active_downloads_ until download is complete. #

Total comments: 8

Patch Set 3 : Cleanup based on feedback. #

Patch Set 4 : Added comment. #

Total comments: 2

Patch Set 5 : Expanded comment. #

Total comments: 6

Patch Set 6 : Now using ContainsKey(). #

Patch Set 7 : Merged with trunk. #

Patch Set 8 : Renamed OnDownloadFileCompleted() to RemoveFromActiveList(). #

Patch Set 9 : Don't update DownloadItem if it's not in progress. #

Total comments: 2

Patch Set 10 : Moved RemoveFromActiveList() declaration in the header. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -32 lines) Patch
M chrome/browser/download/download_item.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/download/download_item.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/download/download_manager.h View 1 2 3 4 5 6 7 8 9 4 chunks +14 lines, -5 lines 0 comments Download
M chrome/browser/download/download_manager.cc View 1 2 3 4 5 6 7 8 9 12 chunks +34 lines, -25 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Randy Smith (Not in Mondays)
http://codereview.chromium.org/6060008/diff/1/chrome/browser/download/download_item.h File chrome/browser/download/download_item.h (right): http://codereview.chromium.org/6060008/diff/1/chrome/browser/download/download_item.h#newcode186 chrome/browser/download/download_item.h:186: void set_full_path(const FilePath& full_path) { full_path_ = full_path; } ...
9 years, 11 months ago (2010-12-29 15:58:11 UTC) #1
paninvitee_gmail.com
Publish+Mail Comments
9 years, 11 months ago (2011-01-01 06:27:37 UTC) #2
paninvitee_gmail.com
On 2011/01/01 06:27:37, paninvitee wrote:
9 years, 11 months ago (2011-01-01 06:30:18 UTC) #3
ahendrickson
http://codereview.chromium.org/6060008/diff/1/chrome/browser/download/download_item.h File chrome/browser/download/download_item.h (right): http://codereview.chromium.org/6060008/diff/1/chrome/browser/download/download_item.h#newcode186 chrome/browser/download/download_item.h:186: void set_full_path(const FilePath& full_path) { full_path_ = full_path; } ...
9 years, 11 months ago (2011-01-01 18:15:59 UTC) #4
Randy Smith (Not in Mondays)
http://codereview.chromium.org/6060008/diff/5001/chrome/browser/download/download_item.cc File chrome/browser/download/download_item.cc (right): http://codereview.chromium.org/6060008/diff/5001/chrome/browser/download/download_item.cc#newcode203 chrome/browser/download/download_item.cc:203: id())); Oh, what a tangled web we're trying to ...
9 years, 11 months ago (2011-01-03 22:02:22 UTC) #5
ahendrickson
http://codereview.chromium.org/6060008/diff/5001/chrome/browser/download/download_item.cc File chrome/browser/download/download_item.cc (right): http://codereview.chromium.org/6060008/diff/5001/chrome/browser/download/download_item.cc#newcode203 chrome/browser/download/download_item.cc:203: id())); On 2011/01/03 22:02:22, rdsmith wrote: > Oh, what ...
9 years, 11 months ago (2011-01-04 16:51:38 UTC) #6
Randy Smith (Not in Mondays)
On Tue, Jan 4, 2011 at 11:51 AM, <ahendrickson@chromium.org> wrote: > Hmm, looking at the ...
9 years, 11 months ago (2011-01-04 17:59:18 UTC) #7
ahendrickson
On 2011/01/04 17:59:18, rdsmith wrote: > On Tue, Jan 4, 2011 at 11:51 AM, <mailto:ahendrickson@chromium.org> ...
9 years, 11 months ago (2011-01-04 19:00:50 UTC) #8
ahendrickson
Now ready for wider review.
9 years, 11 months ago (2011-01-04 19:42:25 UTC) #9
Randy Smith (Not in Mondays)
With below nit, LGTM. http://codereview.chromium.org/6060008/diff/19001/chrome/browser/download/download_manager.cc File chrome/browser/download/download_manager.cc (right): http://codereview.chromium.org/6060008/diff/19001/chrome/browser/download/download_manager.cc#newcode1004 chrome/browser/download/download_manager.cc:1004: // check for. I'd like ...
9 years, 11 months ago (2011-01-04 21:05:35 UTC) #10
ahendrickson
http://codereview.chromium.org/6060008/diff/19001/chrome/browser/download/download_manager.cc File chrome/browser/download/download_manager.cc (right): http://codereview.chromium.org/6060008/diff/19001/chrome/browser/download/download_manager.cc#newcode1004 chrome/browser/download/download_manager.cc:1004: // check for. On 2011/01/04 21:05:35, rdsmith wrote: > ...
9 years, 11 months ago (2011-01-05 00:32:46 UTC) #11
Paweł Hajdan Jr.
Drive-by with some download comments. It seems to be a refactoring-in-progress, so I'm fine with ...
9 years, 11 months ago (2011-01-05 08:11:16 UTC) #12
Randy Smith (Not in Mondays)
On 2011/01/05 08:11:16, Paweł Hajdan Jr. wrote: > http://codereview.chromium.org/6060008/diff/25001/chrome/browser/download/download_manager.h#newcode315 > chrome/browser/download/download_manager.h:315: // processed. The key ...
9 years, 11 months ago (2011-01-05 21:56:51 UTC) #13
Paweł Hajdan Jr.
On Wed, Jan 5, 2011 at 22:56, <rdsmith@chromium.org> wrote: > Pawel, just a quick note, ...
9 years, 11 months ago (2011-01-06 12:26:46 UTC) #14
ahendrickson
http://codereview.chromium.org/6060008/diff/25001/chrome/browser/download/download_manager.cc File chrome/browser/download/download_manager.cc (right): http://codereview.chromium.org/6060008/diff/25001/chrome/browser/download/download_manager.cc#newcode449 chrome/browser/download/download_manager.cc:449: DCHECK(downloads_.find(download) != downloads_.end()); On 2011/01/05 08:11:16, Paweł Hajdan Jr. ...
9 years, 11 months ago (2011-01-06 16:48:51 UTC) #15
Paweł Hajdan Jr.
Note that the comment about observers in download_item.cc is still not addressed. :-/ http://codereview.chromium.org/6060008/diff/25001/chrome/browser/download/download_manager.h File ...
9 years, 11 months ago (2011-01-06 20:39:33 UTC) #16
Randy Smith (Not in Mondays)
On 2011/01/05 08:11:16, Paweł Hajdan Jr. wrote: > http://codereview.chromium.org/6060008/diff/25001/chrome/browser/download/download_item.cc#newcode334 > chrome/browser/download/download_item.cc:334: > NotifyObserversDownloadFileCompleted(); > It ...
9 years, 11 months ago (2011-01-06 21:08:57 UTC) #17
Randy Smith (Not in Mondays)
On 2011/01/04 19:00:50, ahendrickson wrote: > On 2011/01/04 17:59:18, rdsmith wrote: > > See my ...
9 years, 11 months ago (2011-01-07 20:25:29 UTC) #18
ahendrickson
See patch 9 title $-)
9 years, 11 months ago (2011-01-07 22:31:04 UTC) #19
Paweł Hajdan Jr.
On Thu, Jan 6, 2011 at 22:08, <rdsmith@chromium.org> wrote: > Would you be cool with ...
9 years, 11 months ago (2011-01-10 08:35:04 UTC) #20
Randy Smith (Not in Mondays)
Still LGTM :-}. On 2011/01/10 08:35:04, Paweł Hajdan Jr. wrote: > On Thu, Jan 6, ...
9 years, 11 months ago (2011-01-10 15:42:04 UTC) #21
ahendrickson
Ping.
9 years, 11 months ago (2011-01-10 19:23:21 UTC) #22
brettw
Sorry if you were waiting for me, with all the reviewers it gets confusing. I ...
9 years, 11 months ago (2011-01-10 20:49:23 UTC) #23
Paweł Hajdan Jr.
9 years, 11 months ago (2011-01-11 08:03:04 UTC) #24
LGTM

Powered by Google App Engine
This is Rietveld 408576698