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

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

Issue 14697023: downloads: Improve download rate estimation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Improve unit tests 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
« no previous file with comments | « no previous file | content/browser/download/base_file.cc » ('j') | content/browser/download/rate_estimator.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/base_file.h
diff --git a/content/browser/download/base_file.h b/content/browser/download/base_file.h
index faa73c8b9315746896bc488ca611286fff0cea8f..5d1bbf987ec8e78f4c45e94167a711a6a2f2e613 100644
--- a/content/browser/download/base_file.h
+++ b/content/browser/download/base_file.h
@@ -12,6 +12,7 @@
#include "base/memory/linked_ptr.h"
#include "base/memory/scoped_ptr.h"
#include "base/time.h"
+#include "content/browser/download/rate_estimator.h"
#include "content/common/content_export.h"
#include "content/public/browser/download_interrupt_reasons.h"
#include "googleurl/src/gurl.h"
@@ -169,6 +170,8 @@ class CONTENT_EXPORT BaseFile {
net::BoundNetLog bound_net_log_;
+ RateEstimator rate_estimator_;
+
DISALLOW_COPY_AND_ASSIGN(BaseFile);
};
« no previous file with comments | « no previous file | content/browser/download/base_file.cc » ('j') | content/browser/download/rate_estimator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698