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

Unified Diff: chrome/browser/extensions/activity_log/counting_policy_unittest.cc

Issue 2825963003: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/extensions (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/extensions/activity_log/counting_policy_unittest.cc
diff --git a/chrome/browser/extensions/activity_log/counting_policy_unittest.cc b/chrome/browser/extensions/activity_log/counting_policy_unittest.cc
index 0c8601fdeb8474782246aa6f3012f2e05b15bea5..e4b994988a5a465cfa09c4a243b7721798d20c08 100644
--- a/chrome/browser/extensions/activity_log/counting_policy_unittest.cc
+++ b/chrome/browser/extensions/activity_log/counting_policy_unittest.cc
@@ -74,7 +74,7 @@ class CountingPolicyTest : public testing::Test {
// Wait for the task queue for the specified thread to empty.
void WaitOnThread(const BrowserThread::ID& thread) {
BrowserThread::PostTaskAndReply(
- thread, FROM_HERE, base::Bind(&base::DoNothing),
+ thread, FROM_HERE, base::BindOnce(&base::DoNothing),
base::MessageLoop::current()->QuitWhenIdleClosure());
base::RunLoop().Run();
}

Powered by Google App Engine
This is Rietveld 408576698