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

Unified Diff: content/browser/download/download_file_impl.cc

Issue 2722503006: Add slice information to DownloadDestinationObserver::DestinationUpdate(). (Closed)
Patch Set: rebase Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/download/download_file_impl.cc
diff --git a/content/browser/download/download_file_impl.cc b/content/browser/download/download_file_impl.cc
index 80b5d1fb96a47c4e616debbbaad822013346cdb1..5d9ac7997b08e668e65b4c863a14029ee510afbe 100644
--- a/content/browser/download/download_file_impl.cc
+++ b/content/browser/download/download_file_impl.cc
@@ -351,7 +351,8 @@ void DownloadFileImpl::SendUpdate() {
base::Bind(&DownloadDestinationObserver::DestinationUpdate,
observer_,
file_.bytes_so_far(),
- rate_estimator_.GetCountPerSecond()));
+ rate_estimator_.GetCountPerSecond(),
+ std::vector<DownloadItem::ReceivedSlice>()));
}
DownloadFileImpl::RenameParameters::RenameParameters(
« no previous file with comments | « content/browser/download/download_destination_observer.h ('k') | content/browser/download/download_file_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698