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

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

Issue 8404049: Added member data to classes to support download resumption. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated comment. Created 9 years 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/save_package.cc
diff --git a/content/browser/download/save_package.cc b/content/browser/download/save_package.cc
index 1f58901c5d4e33ab9231c008a5122984345cf95e..721af7c9f8ecdd81d803a3a532d03517bd49a920 100644
--- a/content/browser/download/save_package.cc
+++ b/content/browser/download/save_package.cc
@@ -703,7 +703,7 @@ void SavePackage::SaveFinished(int32 save_id, int64 size, bool is_success) {
// Inform the DownloadItem to update UI.
// We use the received bytes as number of saved files.
if (download_)
- download_->UpdateProgress(completed_count(), CurrentSpeed());
+ download_->UpdateProgress(completed_count(), CurrentSpeed(), "");
if (save_item->save_source() == SaveFileCreateInfo::SAVE_FILE_FROM_DOM &&
save_item->url() == page_url_ && !save_item->received_bytes()) {
@@ -745,7 +745,7 @@ void SavePackage::SaveFailed(const GURL& save_url) {
// Inform the DownloadItem to update UI.
// We use the received bytes as number of saved files.
if (download_)
- download_->UpdateProgress(completed_count(), CurrentSpeed());
+ download_->UpdateProgress(completed_count(), CurrentSpeed(), "");
if (save_type_ == SAVE_AS_ONLY_HTML ||
save_item->save_source() == SaveFileCreateInfo::SAVE_FILE_FROM_DOM) {

Powered by Google App Engine
This is Rietveld 408576698