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

Issue 152683003: Pass the filename obtained from content-disposition header for download (Closed)

Created:
6 years, 10 months ago by Jinsuk Kim
Modified:
6 years, 10 months ago
Reviewers:
shashi, Yaron, yfriedman, boliu
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, boliu, shashi
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Pass the filename obtained from content-disposition header for download This CL adds another parameter (filename) for Android to get correct filename to download. Rather than parsing the header again in Java side, already-implemented native header parser is used. BUG=257250 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249936

Patch Set 1 #

Total comments: 7

Patch Set 2 : addressed some comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M content/browser/android/download_controller_android_impl.cc View 2 chunks +8 lines, -1 line 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/DownloadController.java View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
Jinsuk Kim
6 years, 10 months ago (2014-02-07 08:09:35 UTC) #1
Yaron
Can you help me understand how this differs from the internal patch? It looks like ...
6 years, 10 months ago (2014-02-07 16:43:59 UTC) #2
Yaron
On 2014/02/07 16:43:59, Yaron wrote: > Can you help me understand how this differs from ...
6 years, 10 months ago (2014-02-07 17:01:39 UTC) #3
boliu
https://codereview.chromium.org/152683003/diff/1/content/browser/android/download_controller_android_impl.cc File content/browser/android/download_controller_android_impl.cc (right): https://codereview.chromium.org/152683003/diff/1/content/browser/android/download_controller_android_impl.cc#newcode227 content/browser/android/download_controller_android_impl.cc:227: net::HttpContentDisposition header(info.content_disposition, ""); Hmm... If we use the full ...
6 years, 10 months ago (2014-02-07 18:11:46 UTC) #4
shashi
https://codereview.chromium.org/152683003/diff/1/content/browser/android/download_controller_android_impl.cc File content/browser/android/download_controller_android_impl.cc (right): https://codereview.chromium.org/152683003/diff/1/content/browser/android/download_controller_android_impl.cc#newcode227 content/browser/android/download_controller_android_impl.cc:227: net::HttpContentDisposition header(info.content_disposition, ""); I agree with Bo, that should ...
6 years, 10 months ago (2014-02-07 18:59:11 UTC) #5
Jinsuk Kim
Thanks a lot for the review. Much appreciated. https://codereview.chromium.org/152683003/diff/1/content/browser/android/download_controller_android_impl.cc File content/browser/android/download_controller_android_impl.cc (right): https://codereview.chromium.org/152683003/diff/1/content/browser/android/download_controller_android_impl.cc#newcode227 content/browser/android/download_controller_android_impl.cc:227: net::HttpContentDisposition ...
6 years, 10 months ago (2014-02-08 02:49:27 UTC) #6
boliu
https://codereview.chromium.org/152683003/diff/1/content/browser/android/download_controller_android_impl.cc File content/browser/android/download_controller_android_impl.cc (right): https://codereview.chromium.org/152683003/diff/1/content/browser/android/download_controller_android_impl.cc#newcode227 content/browser/android/download_controller_android_impl.cc:227: net::HttpContentDisposition header(info.content_disposition, ""); On 2014/02/08 02:49:28, jindor wrote: > ...
6 years, 10 months ago (2014-02-08 02:51:22 UTC) #7
Jinsuk Kim
The CQ bit was checked by jinsukkim@chromium.org
6 years, 10 months ago (2014-02-08 02:55:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinsukkim@chromium.org/152683003/100001
6 years, 10 months ago (2014-02-08 02:55:30 UTC) #9
commit-bot: I haz the power
6 years, 10 months ago (2014-02-08 04:48:38 UTC) #10
Message was sent while issue was closed.
Change committed as 249936

Powered by Google App Engine
This is Rietveld 408576698