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

Unified Diff: components/sync/engine/fake_sync_engine.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_engine.h ('k') | components/sync/engine/fake_sync_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine/fake_sync_engine.cc
diff --git a/components/sync/engine/fake_sync_engine.cc b/components/sync/engine/fake_sync_engine.cc
index dbc4a74d7f705da170ad0f5e1316178de170fd47..67878c19cf238fe7a1e32147bb844613ef83fa6b 100644
--- a/components/sync/engine/fake_sync_engine.cc
+++ b/components/sync/engine/fake_sync_engine.cc
@@ -92,8 +92,7 @@ void FakeSyncEngine::set_fail_initial_download(bool should_fail) {
fail_initial_download_ = should_fail;
}
-void FakeSyncEngine::ClearServerData(
- const SyncManager::ClearServerDataCallback& callback) {
+void FakeSyncEngine::ClearServerData(const base::Closure& callback) {
callback.Run();
}
« no previous file with comments | « components/sync/engine/fake_sync_engine.h ('k') | components/sync/engine/fake_sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698