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

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

Issue 2885793004: Parallelizable download metrics. (Closed)
Patch Set: Some change according to meeting. 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
« no previous file with comments | « no previous file | content/browser/download/download_stats.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8e0653de530de6dcb32357b9b89b40f1b45600f9 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, and file size for parallelizable
+// download.
+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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698