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

Unified Diff: chrome/browser/download/download_item.cc

Issue 6881106: Treat ERR_CONNECTION_CLOSED as end-of-data marker for downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with trunk Created 9 years, 7 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: chrome/browser/download/download_item.cc
diff --git a/chrome/browser/download/download_item.cc b/chrome/browser/download/download_item.cc
index 17d4fccf261fd33314f1191ab350aa95e6ec2a6e..d6602f69ed269fee8ad81d7884140de6f590db82 100644
--- a/chrome/browser/download/download_item.cc
+++ b/chrome/browser/download/download_item.cc
@@ -634,6 +634,7 @@ std::string DownloadItem::DebugString(bool verbose) const {
description += base::StringPrintf(
" db_handle = %" PRId64
" total_bytes = %" PRId64
+ " received_bytes = %" PRId64
" is_paused = %c"
" is_extension_install = %c"
" is_otr = %c"
@@ -643,6 +644,7 @@ std::string DownloadItem::DebugString(bool verbose) const {
" full_path = \"%" PRFilePath "\"",
db_handle(),
total_bytes(),
+ received_bytes(),
is_paused() ? 'T' : 'F',
is_extension_install() ? 'T' : 'F',
is_otr() ? 'T' : 'F',
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/safe_browsing_database.cc » ('j') | net/tools/testserver/testserver.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698