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

Issue 7374008: Move download stuff from download helper back to TabContents. This is basically a revert of r8576... (Closed)

Created:
9 years, 5 months ago by jam
Modified:
9 years, 5 months ago
CC:
chromium-reviews, Avi (use Gerrit), tburkard+watch_chromium.org, brettw-cc_chromium.org, cbentzel+watch_chromium.org, joi+watch-content_chromium.org, dominich+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Move download stuff from download helper back to TabContents. This is basically a revert of r85762, with updating for code changes in the meantime. BUG=82782 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92747

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Patch Set 3 : sync #

Total comments: 2

Patch Set 4 : fix prerender #

Patch Set 5 : fix unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -285 lines) Patch
M chrome/browser/browser_process.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/browser_process.cc View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M chrome/browser/download/download_manager.cc View 1 2 2 chunks +5 lines, -11 lines 0 comments Download
M chrome/browser/download/download_request_limiter.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/external_tab_container_win.h View 1 2 3 4 chunks +2 lines, -24 lines 0 comments Download
M chrome/browser/external_tab_container_win.cc View 1 2 3 3 chunks +20 lines, -30 lines 0 comments Download
M chrome/browser/instant/instant_loader.cc View 1 2 3 9 chunks +8 lines, -24 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.h View 1 2 3 chunks +1 line, -8 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 2 3 4 chunks +11 lines, -14 lines 0 comments Download
M chrome/browser/profiles/profile.h View 1 2 1 chunk +9 lines, -9 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 3 chunks +51 lines, -51 lines 0 comments Download
M chrome/browser/ui/download/download_tab_helper.h View 1 2 4 chunks +0 lines, -17 lines 0 comments Download
M chrome/browser/ui/download/download_tab_helper.cc View 1 2 4 chunks +1 line, -39 lines 0 comments Download
D chrome/browser/ui/download/download_tab_helper_delegate.h View 1 2 1 chunk +0 lines, -27 lines 0 comments Download
D chrome/browser/ui/download/download_tab_helper_delegate.cc View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/download/save_package.cc View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M content/browser/tab_contents/tab_contents.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 4 chunks +20 lines, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jam
Timo: prerendering code Scott: instant code Randy: everything else
9 years, 5 months ago (2011-07-15 00:08:55 UTC) #1
jam
http://codereview.chromium.org/7374008/diff/1/chrome/browser/ui/browser.cc File chrome/browser/ui/browser.cc (left): http://codereview.chromium.org/7374008/diff/1/chrome/browser/ui/browser.cc#oldcode3522 chrome/browser/ui/browser.cc:3522: GetConstrainingContentsWrapper(tab) == tab && tab_count() > 1) { btw ...
9 years, 5 months ago (2011-07-15 00:53:26 UTC) #2
sky
LGTM
9 years, 5 months ago (2011-07-15 15:23:56 UTC) #3
jam
looks like the browser tests caught a bug because downloads aren't being disabled for prerendering ...
9 years, 5 months ago (2011-07-15 15:47:30 UTC) #4
Randy Smith (Not in Mondays)
John: This looks basically good, but I'm curious about something to improve my baseline understanding ...
9 years, 5 months ago (2011-07-15 15:55:12 UTC) #5
jam
http://codereview.chromium.org/7374008/diff/10011/chrome/browser/external_tab_container_win.h File chrome/browser/external_tab_container_win.h (left): http://codereview.chromium.org/7374008/diff/10011/chrome/browser/external_tab_container_win.h#oldcode153 chrome/browser/external_tab_container_win.h:153: // hosts to customize the menu. On 2011/07/15 15:55:12, ...
9 years, 5 months ago (2011-07-15 17:28:14 UTC) #6
jam
On 2011/07/15 15:55:12, rdsmith wrote: > John: This looks basically good, but I'm curious about ...
9 years, 5 months ago (2011-07-15 17:29:10 UTC) #7
Randy Smith (Not in Mondays)
LGTM.
9 years, 5 months ago (2011-07-15 18:03:43 UTC) #8
tburkard
9 years, 5 months ago (2011-07-15 19:13:09 UTC) #9
On 2011/07/15 18:03:43, rdsmith wrote:
> LGTM.

LGTM

Powered by Google App Engine
This is Rietveld 408576698