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

Unified Diff: content/browser/download/download_browsertest.cc

Issue 2823273004: Add new UMA stats for parallelizable download (Closed)
Patch Set: fix test Created 3 years, 8 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_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_browsertest.cc
diff --git a/content/browser/download/download_browsertest.cc b/content/browser/download/download_browsertest.cc
index be7caf0690fee98638ecdc568ab2766567999217..525d09ef61e97ae5ca61c7e66440bc73e1a69ae1 100644
--- a/content/browser/download/download_browsertest.cc
+++ b/content/browser/download/download_browsertest.cc
@@ -324,11 +324,12 @@ class CountingDownloadFile : public DownloadFileImpl {
void Initialize(
const InitializeCallback& callback,
const CancelRequestCallback& cancel_request_callback,
- const DownloadItem::ReceivedSlices& received_slices) override {
+ const DownloadItem::ReceivedSlices& received_slices,
+ bool is_parallelizable) override {
DCHECK_CURRENTLY_ON(BrowserThread::FILE);
active_files_++;
DownloadFileImpl::Initialize(callback, cancel_request_callback,
- received_slices);
+ received_slices, is_parallelizable);
}
static void GetNumberActiveFiles(int* result) {
« no previous file with comments | « no previous file | content/browser/download/download_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698