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

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

Issue 2730363004: Parallel Download finch config parameters on Chrome client. (Closed)
Patch Set: Fix for new code merged in. Created 3 years, 9 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
« no previous file with comments | « no previous file | content/browser/download/download_job_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 869c4e08f95663425c5dd5d37e1fc54c0c556ce3..8b2a9e8e81585fb36be77bd083558ba356fc8ffa 100644
--- a/content/browser/download/download_file_impl.cc
+++ b/content/browser/download/download_file_impl.cc
@@ -367,6 +367,8 @@ void DownloadFileImpl::StreamActive(SourceStream* source_stream) {
// Inform observers.
SendUpdate();
+ // TODO(xingliu): Use slice info to determine if the file is fully
+ // downloaded.
bool all_stream_complete = true;
for (auto& stream : source_streams_) {
if (!stream.second->is_finished()) {
« no previous file with comments | « no previous file | content/browser/download/download_job_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698