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

Unified Diff: chrome/browser/sync_file_system/drive_backend/sync_engine_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/sync_engine_unittest.cc
diff --git a/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc b/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc
index e26153f3484199035568382c1f689dfb15ee71b3..495984951cf5859b54d99c1ae88ec1aa178ec7b9 100644
--- a/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc
+++ b/chrome/browser/sync_file_system/drive_backend/sync_engine_unittest.cc
@@ -97,11 +97,9 @@ class SyncEngineTest : public testing::Test,
void PostUpdateServiceState(RemoteServiceState state,
const std::string& description) {
worker_task_runner_->PostTask(
- FROM_HERE,
- base::Bind(&FakeSyncWorker::UpdateServiceState,
- base::Unretained(fake_sync_worker()),
- state,
- description));
+ FROM_HERE, base::BindOnce(&FakeSyncWorker::UpdateServiceState,
+ base::Unretained(fake_sync_worker()), state,
+ description));
WaitForWorkerTaskRunner();
}

Powered by Google App Engine
This is Rietveld 408576698