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

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

Issue 14697023: downloads: Improve download rate estimation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment typo Created 7 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: content/browser/download/download_file_impl.h
diff --git a/content/browser/download/download_file_impl.h b/content/browser/download/download_file_impl.h
index f3a3624abdcd7e04d5b77e8bf0946e95896a3bf4..bf5db9dddb4e60abdda39db9486d8d7f25d6a0c5 100644
--- a/content/browser/download/download_file_impl.h
+++ b/content/browser/download/download_file_impl.h
@@ -14,6 +14,7 @@
#include "base/timer.h"
#include "content/browser/byte_stream.h"
#include "content/browser/download/base_file.h"
+#include "content/browser/download/rate_estimator.h"
#include "content/public/browser/download_save_info.h"
#include "net/base/net_log.h"
@@ -96,6 +97,7 @@ class CONTENT_EXPORT DownloadFileImpl : virtual public DownloadFile {
size_t bytes_seen_;
base::TimeDelta disk_writes_time_;
base::TimeTicks download_start_;
+ RateEstimator rate_estimator_;
net::BoundNetLog bound_net_log_;

Powered by Google App Engine
This is Rietveld 408576698