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

Issue 126266: Change URL back to the previous one if the typed URL causes file download. (Closed)

Created:
11 years, 6 months ago by Yuzo
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Base URL:
svn://chrome-svn.corp.google.com/chrome/trunk/src/
Visibility:
Public.

Description

Change URL back to the previous one if the typed URL causes file download. This is the successor to http://codereview.chromium.org/115704 TESTED=manually TEST=Type any URL that causes download, e.g., ftp://ftp.vim.org/pub/vim/pc/gvim72.zip into the omnibox. Without this change the URL remains there. With this change, the URL is changed back to the original one. BUG=1904 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=18790

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M chrome/browser/download/save_package.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Yuzo
Hi, Brett, Thank you for the review. Question: To send an IPC message (I'd call ...
11 years, 6 months ago (2009-06-17 10:25:56 UTC) #1
Yuzo
Hi, Brett, Thank you for the review. Question: To send an IPC message (I'd call ...
11 years, 6 months ago (2009-06-17 10:26:41 UTC) #2
brettw
I believe receiver->Send actually sends to the renderer not to the UI thread. I found ...
11 years, 6 months ago (2009-06-17 17:07:07 UTC) #3
Yuzo
Hi, Brett, Sorry to say this after having had you spend much time on this, ...
11 years, 6 months ago (2009-06-18 03:15:55 UTC) #4
brettw
Ah! We both missed the easy solution. I noticed something when I was researching this: ...
11 years, 6 months ago (2009-06-18 05:49:30 UTC) #5
Yuzo
Brett, Thank you for the review. I've uncommented the ifdef and now running gcl try. ...
11 years, 6 months ago (2009-06-18 06:02:04 UTC) #6
brettw
LGTM. Do you need me to check this in?
11 years, 6 months ago (2009-06-18 19:53:10 UTC) #7
Yuzo
11 years, 6 months ago (2009-06-19 04:25:59 UTC) #8
Thank you. I've just checked this in myself.

On 2009/06/18 19:53:10, brettw wrote:
> LGTM. Do you need me to check this in?

Powered by Google App Engine
This is Rietveld 408576698