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

Unified Diff: chrome/browser/sync_file_system/local/local_file_sync_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/local/local_file_sync_service.cc
diff --git a/chrome/browser/sync_file_system/local/local_file_sync_service.cc b/chrome/browser/sync_file_system/local/local_file_sync_service.cc
index d1478919c54620ba77cec2d25b6aa6a436277651..9b96290952146db5911dce00a5c508c6e45cda36 100644
--- a/chrome/browser/sync_file_system/local/local_file_sync_service.cc
+++ b/chrome/browser/sync_file_system/local/local_file_sync_service.cc
@@ -187,7 +187,7 @@ void LocalFileSyncService::HasPendingLocalChanges(
if (!base::ContainsKey(origin_to_contexts_, url.origin())) {
base::ThreadTaskRunnerHandle::Get()->PostTask(
FROM_HERE,
- base::Bind(callback, SYNC_FILE_ERROR_INVALID_URL, false));
+ base::BindOnce(callback, SYNC_FILE_ERROR_INVALID_URL, false));
return;
}
sync_context_->HasPendingLocalChanges(

Powered by Google App Engine
This is Rietveld 408576698