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

Unified Diff: chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc

Issue 2826943002: Rewrite base::Bind to base::BindOnce with base_bind_rewriters in //chrome/browser/sync_file_system (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_file_system/drive_backend/drive_backend_sync_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc b/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc
index 300fdc895c6574a50d543e99087d6665bd14ef3e..c2079d214978ab46c6c4951565501477476961ea 100644
--- a/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend/drive_backend_sync_unittest.cc
@@ -597,11 +597,9 @@ class DriveBackendSyncTest : public testing::Test,
base::RunLoop run_loop;
worker_task_runner_->PostTask(
FROM_HERE,
- base::Bind(&SyncWorker::CallOnIdleForTesting,
- base::Unretained(sync_worker()),
- RelayCallbackToCurrentThread(
- FROM_HERE,
- run_loop.QuitClosure())));
+ base::BindOnce(
+ &SyncWorker::CallOnIdleForTesting, base::Unretained(sync_worker()),
+ RelayCallbackToCurrentThread(FROM_HERE, run_loop.QuitClosure())));
run_loop.Run();
}

Powered by Google App Engine
This is Rietveld 408576698