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

Issue 9518008: Add a const overload to DownloadItem::GetExternalData() (Closed)

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

Description

Add a const overload to DownloadItem::GetExternalData(). BUG=78085 TEST=unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=124678

Patch Set 1 #

Patch Set 2 : const-correctness #

Total comments: 2

Patch Set 3 : Address comments #

Patch Set 4 : "Add a comment explaining the const cast" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -4 lines) Patch
M content/browser/download/download_item_impl.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/download/download_item_impl.cc View 1 2 3 1 chunk +11 lines, -3 lines 0 comments Download
M content/browser/download/download_item_impl_unittest.cc View 1 2 chunks +9 lines, -0 lines 0 comments Download
M content/public/browser/download_item.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/test/mock_download_item.h View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
asanka
8 years, 9 months ago (2012-02-28 23:00:52 UTC) #1
Randy Smith (Not in Mondays)
What's the motivation for this? The code looks good for the intended goal, and I ...
8 years, 9 months ago (2012-02-29 01:06:38 UTC) #2
asanka
On 2012/02/29 01:06:38, rdsmith wrote: > What's the motivation for this? The code looks good ...
8 years, 9 months ago (2012-02-29 20:26:28 UTC) #3
Randy Smith (Not in Mondays)
On 2012/02/29 20:26:28, asanka wrote: > On 2012/02/29 01:06:38, rdsmith wrote: > > What's the ...
8 years, 9 months ago (2012-02-29 20:37:43 UTC) #4
asanka
PTAL?
8 years, 9 months ago (2012-03-01 17:40:49 UTC) #5
Randy Smith (Not in Mondays)
LGTM. http://codereview.chromium.org/9518008/diff/8001/content/browser/download/download_item_impl.cc File content/browser/download/download_item_impl.cc (right): http://codereview.chromium.org/9518008/diff/8001/content/browser/download/download_item_impl.cc#newcode1133 content/browser/download/download_item_impl.cc:1133: DownloadItemImpl::GetExternalData(const void* key) { I'd be inclined to ...
8 years, 9 months ago (2012-03-01 21:49:05 UTC) #6
asanka
http://codereview.chromium.org/9518008/diff/8001/content/browser/download/download_item_impl.cc File content/browser/download/download_item_impl.cc (right): http://codereview.chromium.org/9518008/diff/8001/content/browser/download/download_item_impl.cc#newcode1133 content/browser/download/download_item_impl.cc:1133: DownloadItemImpl::GetExternalData(const void* key) { On 2012/03/01 21:49:05, rdsmith wrote: ...
8 years, 9 months ago (2012-03-02 16:09:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asanka@chromium.org/9518008/25001
8 years, 9 months ago (2012-03-02 16:10:11 UTC) #8
commit-bot: I haz the power
8 years, 9 months ago (2012-03-02 17:44:58 UTC) #9
Change committed as 124678

Powered by Google App Engine
This is Rietveld 408576698