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

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

Issue 2730363004: Parallel Download finch config parameters on Chrome client. (Closed)
Patch Set: Polish another comment. 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
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 de810fed95897b341fd4743dc3c06663e33c3d31..0b513cf00c92ad28223b3ff82c584f76ece100aa 100644
--- a/content/browser/download/download_file_impl.cc
+++ b/content/browser/download/download_file_impl.cc
@@ -365,6 +365,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') | content/browser/download/parallel_download_job.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698