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

Issue 2722503006: Add slice information to DownloadDestinationObserver::DestinationUpdate(). (Closed)

Created:
3 years, 9 months ago by qinmin
Modified:
3 years, 9 months ago
CC:
chromium-reviews, asanka, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add slice information to DownloadDestinationObserver::DestinationUpdate(). When destination updates, the slice information should also be sent to the observer. So that the observer can inform the history db about the changes. BUG=644352 Review-Url: https://codereview.chromium.org/2722503006 Cr-Commit-Position: refs/heads/master@{#454140} Committed: https://chromium.googlesource.com/chromium/src/+/c49428ef69cfd173c5d7eaeb39982f44ca68da78

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -20 lines) Patch
M content/browser/download/download_destination_observer.h View 2 chunks +5 lines, -2 lines 0 comments Download
M content/browser/download/download_file_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/download/download_file_unittest.cc View 4 chunks +7 lines, -4 lines 0 comments Download
M content/browser/download/download_item_impl.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M content/browser/download/download_item_impl.cc View 1 8 chunks +13 lines, -4 lines 0 comments Download
M content/browser/download/download_item_impl_unittest.cc View 4 chunks +15 lines, -6 lines 0 comments Download
M content/browser/download/save_package.cc View 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (13 generated)
qinmin
PTAL
3 years, 9 months ago (2017-02-28 20:23:55 UTC) #3
xingliu
Might need to rebase. https://codereview.chromium.org/2722503006/diff/1/content/browser/download/download_destination_observer.h File content/browser/download/download_destination_observer.h (right): https://codereview.chromium.org/2722503006/diff/1/content/browser/download/download_destination_observer.h#newcode34 content/browser/download/download_destination_observer.h:34: const std::vector<DownloadItem::ReceivedSlice>& received_slices) = 0; ...
3 years, 9 months ago (2017-02-28 22:36:00 UTC) #7
qinmin
https://codereview.chromium.org/2722503006/diff/1/content/browser/download/download_destination_observer.h File content/browser/download/download_destination_observer.h (right): https://codereview.chromium.org/2722503006/diff/1/content/browser/download/download_destination_observer.h#newcode34 content/browser/download/download_destination_observer.h:34: const std::vector<DownloadItem::ReceivedSlice>& received_slices) = 0; On 2017/02/28 22:36:00, xingliu ...
3 years, 9 months ago (2017-02-28 22:38:21 UTC) #8
xingliu
lgtm, I guess if history db can throttle the commit, then we will be fine.
3 years, 9 months ago (2017-02-28 22:40:45 UTC) #9
qinmin
On 2017/02/28 22:40:45, xingliu wrote: > lgtm, I guess if history db can throttle the ...
3 years, 9 months ago (2017-02-28 22:45:22 UTC) #10
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/2722503006/1
3 years, 9 months ago (2017-02-28 22:46:19 UTC) #12
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
3 years, 9 months ago (2017-02-28 22:46:20 UTC) #14
David Trainor- moved to gerrit
lgtm
3 years, 9 months ago (2017-03-01 22:51:23 UTC) #17
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/2722503006/40001
3 years, 9 months ago (2017-03-02 00:19:29 UTC) #20
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 01:42:44 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c49428ef69cfd173c5d7eaeb3998...

Powered by Google App Engine
This is Rietveld 408576698