Commit c4548580 authored by Alex Kalugin's avatar Alex Kalugin Committed by Commit Bot

Fix Download.DownloadManager.CreationDelay histogram.

Download.DownloadManager.CreationDelay histogram description states
> Records the delay of creating non-incognito download manager after the

> download system is initialized.
but currently histogram is reported only for incognito profiles.

Change-Id: I48344f2b67af3cb1bf62b54d6b2b7fbb507b5e20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485269Reviewed-by: default avatarMin Qin <qinmin@chromium.org>
Commit-Queue: Alexander Kalugin <akalugin@yandex-team.ru>
Cr-Commit-Position: refs/heads/master@{#819232}
parent d07a25be
...@@ -60,7 +60,7 @@ SimpleDownloadManagerCoordinatorFactory::BuildServiceInstanceFor( ...@@ -60,7 +60,7 @@ SimpleDownloadManagerCoordinatorFactory::BuildServiceInstanceFor(
return std::make_unique<download::SimpleDownloadManagerCoordinator>( return std::make_unique<download::SimpleDownloadManagerCoordinator>(
base::BindRepeating(&DownloadUrlWithDownloadManager, base::BindRepeating(&DownloadUrlWithDownloadManager,
base::Unretained(key)), base::Unretained(key)),
key->IsOffTheRecord()); !key->IsOffTheRecord());
} }
SimpleFactoryKey* SimpleDownloadManagerCoordinatorFactory::GetKeyToUse( SimpleFactoryKey* SimpleDownloadManagerCoordinatorFactory::GetKeyToUse(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment