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

Unified Diff: components/sync/engine/sync_engine.h

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.cc ('k') | components/sync/engine/sync_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine/sync_engine.h
diff --git a/components/sync/engine/sync_engine.h b/components/sync/engine/sync_engine.h
index 09c32e8c404cbcff65c3be1e94013f93fdf1a37e..d28a390d143c108e047071a8dc4cbf1c29085b11 100644
--- a/components/sync/engine/sync_engine.h
+++ b/components/sync/engine/sync_engine.h
@@ -181,8 +181,7 @@ class SyncEngine : public ModelTypeConfigurer {
virtual void RefreshTypesForTest(ModelTypeSet types) = 0;
// See SyncManager::ClearServerData.
- virtual void ClearServerData(
- const SyncManager::ClearServerDataCallback& callback) = 0;
+ virtual void ClearServerData(const base::Closure& callback) = 0;
// Notify the syncer that the cookie jar has changed.
// See SyncManager::OnCookieJarChanged.
« no previous file with comments | « components/sync/engine/fake_sync_manager.cc ('k') | components/sync/engine/sync_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698