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

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

Issue 2885793004: Parallelizable download metrics. (Closed)
Patch Set: Work on feedback. Created 3 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_stats.h
diff --git a/content/browser/download/download_stats.h b/content/browser/download/download_stats.h
index ecd3bdf698bc6555af9601112d9fb1aca8e18ecb..979b2f1f937797eed11087efc4ecaddefd32b1e0 100644
--- a/content/browser/download/download_stats.h
+++ b/content/browser/download/download_stats.h
@@ -287,6 +287,12 @@ void RecordParallelizableDownloadStats(
base::TimeDelta time_without_parallel_streams,
bool uses_parallel_requests);
+// Records the average bandwidth, time for parallelizable download.
+// Also add file size suffix to bucket the metrics with file size.
+CONTENT_EXPORT void RecordParallelizableDownloadAverageStats(
+ int64_t bytes_downloaded,
+ const base::TimeDelta& time_span);
+
// Records the parallel download creation counts and the reasons why the
// download falls back to non-parallel download.
void RecordParallelDownloadCreationEvent(ParallelDownloadCreationEvent event);
« no previous file with comments | « no previous file | content/browser/download/download_stats.cc » ('j') | content/browser/download/download_stats.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698