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

Issue 6973035: Move download stuff to download tab helper. (Closed)

Created:
9 years, 7 months ago by Avi (use Gerrit)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, brettw-cc_chromium.org, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Move download stuff to download tab helper. BUG=71097 TEST=zero visible change in how the download system works Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85486 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85504 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85762

Patch Set 1 #

Patch Set 2 : works #

Patch Set 3 : comment tweak #

Total comments: 1

Patch Set 4 : avoid spreading the plague #

Patch Set 5 : quick fix #

Patch Set 6 : Oops, forgot to add tab watcher as delegate with CF. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -139 lines) Patch
M chrome/browser/download/download_manager.cc View 1 2 3 4 2 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/download/download_request_limiter.cc View 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/download/download_request_limiter_unittest.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/download/save_package.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/external_tab_container_win.h View 1 4 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/external_tab_container_win.cc View 1 2 3 4 5 3 chunks +29 lines, -20 lines 0 comments Download
M chrome/browser/instant/instant_loader.cc View 9 chunks +23 lines, -8 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 4 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 3 chunks +51 lines, -45 lines 0 comments Download
M chrome/browser/ui/download/download_tab_helper.h View 4 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/download/download_tab_helper.cc View 4 chunks +38 lines, -1 line 0 comments Download
A chrome/browser/ui/download/download_tab_helper_delegate.h View 1 chunk +27 lines, -0 lines 0 comments Download
A chrome/browser/ui/download/download_tab_helper_delegate.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents.h View 1 2 3 4 3 chunks +3 lines, -11 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 3 chunks +2 lines, -27 lines 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.h View 1 2 3 4 5 2 chunks +0 lines, -5 lines 0 comments Download
content/browser/tab_contents/tab_contents_delegate.cc View 1 2 3 4 5 1 chunk +0 lines, -8 lines 0 comments Download
M content/browser/tab_contents/tab_contents_observer.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
content/browser/tab_contents/tab_contents_observer.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Avi (use Gerrit)
To the download expert for review, John as FYI.
9 years, 7 months ago (2011-05-13 00:16:34 UTC) #1
jam
http://codereview.chromium.org/6973035/diff/3001/chrome/browser/tab_contents/tab_util.cc File chrome/browser/tab_contents/tab_util.cc (right): http://codereview.chromium.org/6973035/diff/3001/chrome/browser/tab_contents/tab_util.cc#newcode22 chrome/browser/tab_contents/tab_util.cc:22: TabContentsWrapper* tab_util::GetTabContentsWrapperByID( note: we want to get rid of ...
9 years, 7 months ago (2011-05-13 06:22:02 UTC) #2
Avi (use Gerrit)
On 2011/05/13 06:22:02, John Abd-El-Malek wrote: > note: we want to get rid of GetAsTabContents() ...
9 years, 7 months ago (2011-05-13 13:56:20 UTC) #3
jam
On 2011/05/13 13:56:20, Avi wrote: > On 2011/05/13 06:22:02, John Abd-El-Malek wrote: > > note: ...
9 years, 7 months ago (2011-05-13 18:23:03 UTC) #4
Avi (use Gerrit)
Of course. (New version up; ptal.) When you have a chance I'd like to talk. ...
9 years, 7 months ago (2011-05-13 18:39:58 UTC) #5
jam
thanks, content lgtm
9 years, 7 months ago (2011-05-13 18:47:56 UTC) #6
Randy Smith (Not in Mondays)
On 2011/05/13 00:16:34, Avi wrote: > To the download expert for review, John as FYI. ...
9 years, 7 months ago (2011-05-13 18:49:59 UTC) #7
Avi (use Gerrit)
The tricky stuff seems to be the plumbing, who's calling what. Is there someone else ...
9 years, 7 months ago (2011-05-13 18:52:17 UTC) #8
Randy Smith (Not in Mondays)
On 2011/05/13 18:52:17, Avi wrote: > The tricky stuff seems to be the plumbing, who's ...
9 years, 7 months ago (2011-05-13 18:54:41 UTC) #9
Randy Smith (Not in Mondays)
LGTM, but that's said without confidence that I've done a solid review. The changes in ...
9 years, 7 months ago (2011-05-13 19:01:29 UTC) #10
Avi (use Gerrit)
Yes, I created the DownloadTabHelper, but just as a collection of "everything involving downloads" from ...
9 years, 7 months ago (2011-05-13 19:12:28 UTC) #11
Avi (use Gerrit)
PTAL: now I have the delegate set properly for the CF.
9 years, 7 months ago (2011-05-16 17:48:46 UTC) #12
jam
9 years, 7 months ago (2011-05-16 18:27:32 UTC) #13
SLGTM

Powered by Google App Engine
This is Rietveld 408576698