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

Unified Diff: chrome/browser/sync_file_system/sync_file_system_service.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/sync_file_system_service.cc
diff --git a/chrome/browser/sync_file_system/sync_file_system_service.cc b/chrome/browser/sync_file_system/sync_file_system_service.cc
index 235c0dd49c143e5fa2cf6ae3f1ba61990fa3ee7e..1852210264752693eeadc389989a873091290a9c 100644
--- a/chrome/browser/sync_file_system/sync_file_system_service.cc
+++ b/chrome/browser/sync_file_system/sync_file_system_service.cc
@@ -334,10 +334,8 @@ void SyncFileSystemService::GetFileSyncStatus(
// It's possible to get an invalid FileEntry.
if (!url.is_valid()) {
base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE,
- base::Bind(callback,
- SYNC_FILE_ERROR_INVALID_URL,
- SYNC_FILE_STATUS_UNKNOWN));
+ FROM_HERE, base::BindOnce(callback, SYNC_FILE_ERROR_INVALID_URL,
+ SYNC_FILE_STATUS_UNKNOWN));
return;
}

Powered by Google App Engine
This is Rietveld 408576698