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

Issue 1875033005: [Downloads/History] Add tab-url and tab-referrer-url to DownloadRow (Closed)

Created:
4 years, 8 months ago by asanka
Modified:
4 years, 8 months ago
Reviewers:
svaldez, jam, sky
CC:
asanka, chromium-reviews, grt+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@guid-fix
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Downloads/History] Add tab-url and tab-referrer-url to DownloadRow Also add a README.md file to components/test/data/history explaining how to generate a history.NN.sql file. R=sky@chromium.org, jam@chromium.org, svaldez@chromium.org BUG=602403 Committed: https://crrev.com/038d58d3b114c6bd1d9712f78c23eefb50b9b3d4 Cr-Commit-Position: refs/heads/master@{#387169}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update comment and add plumbing through //chrome/browser/download/ #

Patch Set 3 : More comments #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : Address comments. #

Patch Set 6 : Update expectations for DownloadUIController test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -275 lines) Patch
M chrome/browser/download/download_history.cc View 1 2 chunks +11 lines, -31 lines 0 comments Download
M chrome/browser/download/download_history_unittest.cc View 1 5 chunks +22 lines, -34 lines 0 comments Download
M chrome/browser/download/download_ui_controller_unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/downloads/downloads_api_browsertest.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc View 1 2 2 chunks +7 lines, -6 lines 0 comments Download
M components/history/core/browser/download_database.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/history/core/browser/download_database.cc View 1 6 chunks +17 lines, -5 lines 0 comments Download
M components/history/core/browser/download_row.h View 1 2 3 4 2 chunks +11 lines, -1 line 0 comments Download
M components/history/core/browser/download_row.cc View 1 2 3 4 3 chunks +16 lines, -21 lines 0 comments Download
M components/history/core/browser/history_backend_db_unittest.cc View 1 5 chunks +101 lines, -90 lines 0 comments Download
M components/history/core/browser/history_database.cc View 2 chunks +10 lines, -1 line 0 comments Download
M components/history/core/test/history_backend_db_base_test.cc View 1 chunk +9 lines, -22 lines 0 comments Download
A components/test/data/history/README.md View 1 chunk +25 lines, -0 lines 0 comments Download
A + components/test/data/history/history.30.sql View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/download/download_browsertest.cc View 1 2 3 6 chunks +12 lines, -0 lines 0 comments Download
M content/browser/download/download_item_factory.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/download/download_item_impl.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/download/download_item_impl.cc View 1 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/download/download_manager_impl.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/download/download_manager_impl.cc View 1 4 chunks +13 lines, -41 lines 0 comments Download
M content/browser/download/download_manager_impl_unittest.cc View 1 2 3 4 chunks +8 lines, -0 lines 0 comments Download
M content/public/browser/download_manager.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/test/mock_download_manager.h View 1 3 chunks +6 lines, -0 lines 0 comments Download
M content/public/test/mock_download_manager.cc View 1 6 chunks +15 lines, -20 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
asanka
4 years, 8 months ago (2016-04-11 19:41:05 UTC) #2
sky
LGTM https://codereview.chromium.org/1875033005/diff/1/components/history/core/browser/history_backend_db_unittest.cc File components/history/core/browser/history_backend_db_unittest.cc (right): https://codereview.chromium.org/1875033005/diff/1/components/history/core/browser/history_backend_db_unittest.cc#newcode646 components/history/core/browser/history_backend_db_unittest.cc:646: // current version, creating the mime_type abd original_mime_type ...
4 years, 8 months ago (2016-04-11 21:04:13 UTC) #3
asanka
sky: Thanks! jam: Could you take a look at content/public/ ? svaldez: Could you take ...
4 years, 8 months ago (2016-04-12 19:49:59 UTC) #6
svaldez
lgtm, would be nice if there was a way to keep the separated formatting for ...
4 years, 8 months ago (2016-04-12 20:54:17 UTC) #7
jam
lgtm
4 years, 8 months ago (2016-04-13 21:15:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1875033005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1875033005/100001
4 years, 8 months ago (2016-04-13 23:22:04 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 8 months ago (2016-04-14 00:29:41 UTC) #14
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 00:31:24 UTC) #16
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/038d58d3b114c6bd1d9712f78c23eefb50b9b3d4
Cr-Commit-Position: refs/heads/master@{#387169}

Powered by Google App Engine
This is Rietveld 408576698