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

Issue 10695087: Kill DownloadManagerImpl::save_page_downloads_ (Closed)

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

Description

Kill DownloadManagerImpl::save_page_downloads_ Use an ExternalData for the cases where we still need to distinguish save page downloads. Eventually, this should not be necessary. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146135

Patch Set 1 #

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : merge #

Patch Set 6 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -57 lines) Patch
M content/browser/download/download_manager_impl.h View 1 2 3 4 5 3 chunks +2 lines, -8 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 2 3 4 9 chunks +50 lines, -49 lines 0 comments Download
M content/browser/download/download_manager_impl_unittest.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
benjhayden
PTAL
8 years, 5 months ago (2012-07-10 17:39:15 UTC) #1
asanka
http://codereview.chromium.org/10695087/diff/4001/content/browser/download/download_manager_impl.cc File content/browser/download/download_manager_impl.cc (right): http://codereview.chromium.org/10695087/diff/4001/content/browser/download/download_manager_impl.cc#newcode69 content/browser/download/download_manager_impl.cc:69: return reinterpret_cast<const void*>(&SavePageExternalData::Get); Multiple functions with identical code can ...
8 years, 5 months ago (2012-07-10 18:43:31 UTC) #2
Randy Smith (Not in Mondays)
So it will probably not surprise you that I consider this a hack. OTOH, I ...
8 years, 5 months ago (2012-07-10 19:06:05 UTC) #3
benjhayden
PTAL http://codereview.chromium.org/10695087/diff/4001/content/browser/download/download_manager_impl.cc File content/browser/download/download_manager_impl.cc (right): http://codereview.chromium.org/10695087/diff/4001/content/browser/download/download_manager_impl.cc#newcode57 content/browser/download/download_manager_impl.cc:57: static SavePageExternalData* Get(DownloadItem* item) { On 2012/07/10 19:06:05, ...
8 years, 5 months ago (2012-07-10 20:00:08 UTC) #4
Randy Smith (Not in Mondays)
LGTM.
8 years, 5 months ago (2012-07-10 20:48:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/benjhayden@chromium.org/10695087/2004
8 years, 5 months ago (2012-07-11 15:55:58 UTC) #6
commit-bot: I haz the power
8 years, 5 months ago (2012-07-11 17:38:59 UTC) #7
Change committed as 146135

Powered by Google App Engine
This is Rietveld 408576698