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

Issue 1706193002: Expose final download URL (actual url after redirects) in the extension API. (Closed)

Created:
4 years, 10 months ago by mharanczyk
Modified:
4 years, 5 months ago
CC:
asanka, chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expose final download URL (actual url after redirects) in the extension API. BUG=620630 Committed: https://crrev.com/235b8cbc6cff62240ea0628fc0d1c5ba4bec38e8 Cr-Commit-Position: refs/heads/master@{#404619}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rebase. #

Patch Set 3 : Address reviewers' comments. #

Total comments: 12

Patch Set 4 : IDL doc update. #

Total comments: 7

Patch Set 5 : Address another batch of review comments. #

Total comments: 2

Patch Set 6 : Reworded comment to better match what the code does. #

Patch Set 7 : Rebase #

Patch Set 8 : Additional documentation. #

Total comments: 6

Patch Set 9 : Address another bunch of comments. #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -36 lines) Patch
M chrome/browser/download/download_query.h View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/download/download_query.cc View 1 2 3 4 5 6 8 chunks +45 lines, -22 lines 0 comments Download
M chrome/browser/download/download_query_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +113 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api.cc View 1 2 5 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +53 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/downloads.idl View 1 2 3 8 5 chunks +22 lines, -5 lines 0 comments Download

Messages

Total messages: 37 (8 generated)
mharanczyk
Hi all, could you take a look at those changes and tell me if you ...
4 years, 10 months ago (2016-02-18 12:13:00 UTC) #2
asanka
Ideally, the native API should be consistent and any mapping that we need to do ...
4 years, 10 months ago (2016-02-18 15:32:27 UTC) #3
asargent_no_longer_on_chrome
nit: can you create a bug entry for this and link to it with BUG= ...
4 years, 10 months ago (2016-02-25 21:29:25 UTC) #4
mharanczyk
Ping! benjhayden@ could you please chime in here since you are the one calling the ...
4 years, 7 months ago (2016-05-16 13:14:39 UTC) #5
benjhayden
On 2016/05/16 at 13:14:39, mharanczyk wrote: > Ping! > benjhayden@ could you please chime in ...
4 years, 6 months ago (2016-06-07 23:33:31 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1706193002/40001
4 years, 6 months ago (2016-06-16 10:41:34 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-16 11:30:19 UTC) #11
mharanczyk
I've updated CL with all requested changes, please take a look again.
4 years, 6 months ago (2016-06-16 11:32:30 UTC) #12
benjhayden
lgtm
4 years, 6 months ago (2016-06-16 16:57:33 UTC) #13
asargent_no_longer_on_chrome
https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl#newcode138 chrome/common/extensions/api/downloads.idl:138: // URL that this download started from (before any ...
4 years, 6 months ago (2016-06-16 22:11:41 UTC) #14
mharanczyk
On 2016/06/16 22:11:41, Antony Sargent wrote: > https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl#newcode363 > chrome/common/extensions/api/downloads.idl:363: // The change in > ...
4 years, 6 months ago (2016-06-21 12:36:18 UTC) #15
asanka
https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl#newcode363 chrome/common/extensions/api/downloads.idl:363: // The change in <code>finalUrl</code>, if any. On 2016/06/16 ...
4 years, 6 months ago (2016-06-22 19:05:14 UTC) #16
mharanczyk
https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl#newcode138 chrome/common/extensions/api/downloads.idl:138: // URL that this download started from (before any ...
4 years, 6 months ago (2016-06-23 10:33:22 UTC) #17
asanka
https://codereview.chromium.org/1706193002/diff/80001/chrome/browser/download/download_query.cc File chrome/browser/download/download_query.cc (right): https://codereview.chromium.org/1706193002/diff/80001/chrome/browser/download/download_query.cc#newcode225 chrome/browser/download/download_query.cc:225: // way. This will unescape spaces and trim all ...
4 years, 6 months ago (2016-06-23 15:48:12 UTC) #18
mharanczyk
https://codereview.chromium.org/1706193002/diff/80001/chrome/browser/download/download_query.cc File chrome/browser/download/download_query.cc (right): https://codereview.chromium.org/1706193002/diff/80001/chrome/browser/download/download_query.cc#newcode225 chrome/browser/download/download_query.cc:225: // way. This will unescape spaces and trim all ...
4 years, 6 months ago (2016-06-23 16:05:15 UTC) #19
asargent_no_longer_on_chrome
https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl#newcode363 chrome/common/extensions/api/downloads.idl:363: // The change in <code>finalUrl</code>, if any. On 2016/06/23 ...
4 years, 6 months ago (2016-06-23 16:35:52 UTC) #20
mharanczyk
On 2016/06/23 16:35:52, Antony Sargent wrote: > https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl > File chrome/common/extensions/api/downloads.idl (right): > > https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl#newcode363 ...
4 years, 6 months ago (2016-06-24 08:12:57 UTC) #21
asargent_no_longer_on_chrome
> Are you ok to leave it in this CL as is and remove it ...
4 years, 6 months ago (2016-06-24 20:23:31 UTC) #22
mharanczyk
https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl#newcode363 chrome/common/extensions/api/downloads.idl:363: // The change in <code>finalUrl</code>, if any. On 2016/06/23 ...
4 years, 5 months ago (2016-06-28 13:15:32 UTC) #23
asanka
https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl File chrome/common/extensions/api/downloads.idl (right): https://codereview.chromium.org/1706193002/diff/40001/chrome/common/extensions/api/downloads.idl#newcode363 chrome/common/extensions/api/downloads.idl:363: // The change in <code>finalUrl</code>, if any. On 2016/06/28 ...
4 years, 5 months ago (2016-06-28 13:39:45 UTC) #24
mharanczyk
I am a bit confused, this review is a bit stuck, do you want me ...
4 years, 5 months ago (2016-07-04 08:54:14 UTC) #25
asanka
No objections from me other than those pointed out here. https://codereview.chromium.org/1706193002/diff/140001/chrome/browser/download/download_query_unittest.cc File chrome/browser/download/download_query_unittest.cc (right): https://codereview.chromium.org/1706193002/diff/140001/chrome/browser/download/download_query_unittest.cc#newcode249 ...
4 years, 5 months ago (2016-07-07 19:28:31 UTC) #26
mharanczyk
https://codereview.chromium.org/1706193002/diff/140001/chrome/browser/download/download_query_unittest.cc File chrome/browser/download/download_query_unittest.cc (right): https://codereview.chromium.org/1706193002/diff/140001/chrome/browser/download/download_query_unittest.cc#newcode249 chrome/browser/download/download_query_unittest.cc:249: GURL match_url("http://query.com/query"); On 2016/07/07 19:28:31, asanka wrote: > Should ...
4 years, 5 months ago (2016-07-08 10:10:55 UTC) #27
asanka
lgtm from me. Thanks for filing the bug and sticking with this :)
4 years, 5 months ago (2016-07-08 14:05:49 UTC) #28
mharanczyk
asargent@ are you ok with committing this?
4 years, 5 months ago (2016-07-08 14:20:39 UTC) #29
asargent_no_longer_on_chrome
On 2016/07/08 14:20:39, mharanczyk wrote: > asargent@ are you ok with committing this? yep, still ...
4 years, 5 months ago (2016-07-08 18:08:56 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/1706193002/180001
4 years, 5 months ago (2016-07-11 07:53:42 UTC) #33
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 5 months ago (2016-07-11 09:05:18 UTC) #35
commit-bot: I haz the power
4 years, 5 months ago (2016-07-11 09:07:52 UTC) #37
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/235b8cbc6cff62240ea0628fc0d1c5ba4bec38e8
Cr-Commit-Position: refs/heads/master@{#404619}

Powered by Google App Engine
This is Rietveld 408576698