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

Unified Diff: chrome/browser/sync/profile_sync_service_factory.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/profile_sync_service_factory.cc
diff --git a/chrome/browser/sync/profile_sync_service_factory.cc b/chrome/browser/sync/profile_sync_service_factory.cc
index 0efcc882a43fcf55df9b38d607a11fa3d945a058..743d212b6ef52a3786764902b33a8c43ff6dc79a 100644
--- a/chrome/browser/sync/profile_sync_service_factory.cc
+++ b/chrome/browser/sync/profile_sync_service_factory.cc
@@ -88,8 +88,8 @@ void UpdateNetworkTime(const base::Time& network_time,
const base::TimeDelta& latency) {
content::BrowserThread::PostTask(
content::BrowserThread::UI, FROM_HERE,
- base::Bind(&UpdateNetworkTimeOnUIThread, network_time, resolution,
- latency, base::TimeTicks::Now()));
+ base::BindOnce(&UpdateNetworkTimeOnUIThread, network_time, resolution,
+ latency, base::TimeTicks::Now()));
}
} // anonymous namespace
« no previous file with comments | « chrome/browser/sync/glue/sync_start_util.cc ('k') | chrome/browser/sync/test/integration/autofill_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698