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

Unified Diff: chrome/browser/sync/test/integration/single_client_directory_sync_test.cc

Issue 2830603002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/sync (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/sync/test/integration/single_client_directory_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/single_client_directory_sync_test.cc b/chrome/browser/sync/test/integration/single_client_directory_sync_test.cc
index 4c664c2f74d15302911c24076ec8633705b80ca3..1768ca8ccfe8576dc4657f39652a7ea3abda8513 100644
--- a/chrome/browser/sync/test/integration/single_client_directory_sync_test.cc
+++ b/chrome/browser/sync/test/integration/single_client_directory_sync_test.cc
@@ -56,7 +56,7 @@ void SignalEvent(base::WaitableEvent* e) {
bool WaitForExistingTasksOnLoop(base::MessageLoop* loop) {
base::WaitableEvent e(base::WaitableEvent::ResetPolicy::MANUAL,
base::WaitableEvent::InitialState::NOT_SIGNALED);
- loop->task_runner()->PostTask(FROM_HERE, base::Bind(&SignalEvent, &e));
+ loop->task_runner()->PostTask(FROM_HERE, base::BindOnce(&SignalEvent, &e));
// Timeout stolen from StatusChangeChecker::GetTimeoutDuration().
return e.TimedWait(base::TimeDelta::FromSeconds(45));
}

Powered by Google App Engine
This is Rietveld 408576698