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

Unified Diff: components/sync/engine/fake_sync_manager.cc

Issue 2770933007: [Sync] Replace ClearServerDataCallback with Closure. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « components/sync/engine/fake_sync_manager.h ('k') | components/sync/engine/sync_engine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine/fake_sync_manager.cc
diff --git a/components/sync/engine/fake_sync_manager.cc b/components/sync/engine/fake_sync_manager.cc
index e9f9ce8b1f5556b8a771eb243c0a0d3099a77054..2d985b013ddf3bcc75b7377e4312c6f2bb7c78c9 100644
--- a/components/sync/engine/fake_sync_manager.cc
+++ b/components/sync/engine/fake_sync_manager.cc
@@ -260,7 +260,7 @@ void FakeSyncManager::SetInvalidatorEnabled(bool invalidator_enabled) {
// Do nothing.
}
-void FakeSyncManager::ClearServerData(const ClearServerDataCallback& callback) {
+void FakeSyncManager::ClearServerData(const base::Closure& callback) {
callback.Run();
}
« no previous file with comments | « components/sync/engine/fake_sync_manager.h ('k') | components/sync/engine/sync_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698