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

Issue 7005011: Fix bug 79905: Drag and drop of "DownloadURL" type ignores specified filename for data URLs. (Closed)

Created:
9 years, 7 months ago by jianli
Modified:
9 years, 6 months ago
CC:
chromium-reviews, pam+watch_chromium.org
Visibility:
Public.

Description

Fix bug 79905: Drag and drop of "DownloadURL" type ignores specified filename for data URLs. BUG=79905 TEST=Manual test and unittest added for net::GetSuggestedFilename Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85831

Patch Set 1 : '' #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 5

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+164 lines, -87 lines) Patch
M chrome/browser/bookmarks/bookmark_utils.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_util.h View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download
M chrome/browser/download/download_util.cc View 1 2 3 4 5 2 chunks +45 lines, -27 lines 0 comments Download
M chrome/browser/download/save_package.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/web_drag_source.mm View 1 2 3 4 5 2 chunks +6 lines, -8 lines 0 comments Download
M chrome/browser/ui/gtk/tab_contents_drag_source.cc View 1 2 3 4 5 1 chunk +5 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/tab_contents/tab_contents_drag_win.cc View 1 2 3 4 5 2 chunks +6 lines, -8 lines 0 comments Download
M net/base/net_util.h View 1 2 3 4 5 1 chunk +10 lines, -9 lines 0 comments Download
M net/base/net_util.cc View 1 2 3 4 5 3 chunks +18 lines, -9 lines 0 comments Download
M net/base/net_util_unittest.cc View 1 2 3 4 5 6 chunks +65 lines, -13 lines 0 comments Download
M ui/base/dragdrop/os_exchange_data_provider_win.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/weburlloader_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
jianli
9 years, 7 months ago (2011-05-10 21:59:37 UTC) #1
Randy Smith (Not in Mondays)
Added Asanka@ to the reviewer list; he's been working in this code.
9 years, 7 months ago (2011-05-10 22:27:26 UTC) #2
asanka
It seems to me that the correct approach is to fix the logic in net_util::GetSuggestedFilename() ...
9 years, 7 months ago (2011-05-10 22:43:42 UTC) #3
jianli
I've thought about this approach and am hesitant to move the check to the lower ...
9 years, 7 months ago (2011-05-10 23:21:28 UTC) #4
asanka
On 2011/05/10 23:21:28, jianli wrote: > I've thought about this approach and am hesitant to ...
9 years, 7 months ago (2011-05-12 16:40:46 UTC) #5
Randy Smith (Not in Mondays)
Scanning the CL, I don't think I have much to contribute beyond what Asanka will, ...
9 years, 7 months ago (2011-05-12 17:40:55 UTC) #6
jianli
On Thu, May 12, 2011 at 9:40 AM, <asanka@chromium.org> wrote: > On 2011/05/10 23:21:28, jianli ...
9 years, 7 months ago (2011-05-12 17:54:03 UTC) #7
asanka
On 2011/05/12 17:54:03, jianli wrote: > This is not a regression. The user finds out ...
9 years, 7 months ago (2011-05-12 19:16:46 UTC) #8
jianli
I've made the fix. Please review again. Thanks. On Thu, May 12, 2011 at 12:16 ...
9 years, 7 months ago (2011-05-12 23:45:25 UTC) #9
asanka
LGTM with the changes I mention below. You'll need OWNERS approval though. http://codereview.chromium.org/7005011/diff/11005/chrome/browser/download/download_util.cc File chrome/browser/download/download_util.cc ...
9 years, 7 months ago (2011-05-13 13:32:24 UTC) #10
jianli
rdsmith, can you take a look to approve it? Thanks. http://codereview.chromium.org/7005011/diff/11005/chrome/browser/download/download_util.cc File chrome/browser/download/download_util.cc (right): http://codereview.chromium.org/7005011/diff/11005/chrome/browser/download/download_util.cc#newcode170 ...
9 years, 7 months ago (2011-05-17 00:10:44 UTC) #11
Randy Smith (Not in Mondays)
Rubber-stamp LGTM for /downloads/ directory based on Asanka's review.
9 years, 7 months ago (2011-05-17 18:32:08 UTC) #12
jianli
Thanks. Since you're also listed as owner for net/ directory, can you also rubber-stamp it? ...
9 years, 7 months ago (2011-05-17 18:34:56 UTC) #13
Randy Smith (Not in Mondays)
On 2011/05/17 18:34:56, jianli wrote: > Thanks. Since you're also listed as owner for net/ ...
9 years, 7 months ago (2011-05-17 18:37:49 UTC) #14
jianli
9 years, 7 months ago (2011-05-17 18:39:54 UTC) #15
Yes, Asanka has reviewed it. Thanks.

On Tue, May 17, 2011 at 11:37 AM, <rdsmith@chromium.org> wrote:

> On 2011/05/17 18:34:56, jianli wrote:
>
>> Thanks. Since you're also listed as owner for net/ directory, can you also
>> rubber-stamp it?
>>
>
> My quick scan suggests that that was part of Asanka's review, and I'm
> willing to
> rubber stamp LGTM on that basis (but if it wasn't, please let me know that
> and
> I'll do a real review).
>
>
>
>
>  On Tue, May 17, 2011 at 11:32 AM, <mailto:rdsmith@chromium.org> wrote:
>>
>
>  > Rubber-stamp LGTM for /downloads/ directory based on Asanka's review.
>> >
>> >
>> >
>> > http://codereview.chromium.org/7005011/
>> >
>>
>
>
>
> http://codereview.chromium.org/7005011/
>

Powered by Google App Engine
This is Rietveld 408576698