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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc

Issue 2821193005: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/safe_browsing (Closed)
Patch Set: 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
Index: chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
index 2ad335e3792c97fb3b5de23cd3aec19bcfec0f5f..033d23c875ebc11a90765aa6835ff2af77159217 100644
--- a/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc
@@ -457,8 +457,9 @@ TEST_F(LastDownloadFinderTest, AddProfileAfterStarting) {
// Post a task that will create a second profile once the main loop is run.
base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE, base::Bind(&LastDownloadFinderTest::CreateProfileWithDownload,
- base::Unretained(this)));
+ FROM_HERE,
+ base::BindOnce(&LastDownloadFinderTest::CreateProfileWithDownload,
+ base::Unretained(this)));
// Create a finder that we expect will find a download in the second profile.
std::unique_ptr<LastDownloadFinder> finder(LastDownloadFinder::Create(

Powered by Google App Engine
This is Rietveld 408576698