Index: content/browser/download/download_stats.h |
diff --git a/content/browser/download/download_stats.h b/content/browser/download/download_stats.h |
index 8d3fea375ff41f7d821453763e67afe79a2ac1e8..e3a9d1a964a813015d81669401f28694c858843f 100644 |
--- a/content/browser/download/download_stats.h |
+++ b/content/browser/download/download_stats.h |
@@ -221,6 +221,17 @@ void RecordFileBandwidth(size_t length, |
// Increment one of the count for parallel download. |
void RecordParallelDownloadCount(DownloadCountTypes type); |
+// Records the actual total number of requests sent for a parallel download, |
+// including the initial request. |
+void RecordParallelDownloadRequestCount(int request_count); |
+ |
+// Records the number of requests that have smaller offset than the initial |
+// request. |
+void RecordParallelDownloadEarlyRequests(int request_count); |
+ |
+// Record if each byte stream is successfully added to download sink. |
+void RecordParallelDownloadAddStreamSuccess(bool success); |
+ |
// Records the bandwidth for parallel download and estimates the saved time at |
// the file end. Does not count in any hash computation or file open/close time. |
void RecordParallelDownloadStats( |