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

Unified Diff: components/sync/engine/sync_manager.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/sync_engine.h ('k') | components/sync/engine_impl/sync_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine/sync_manager.h
diff --git a/components/sync/engine/sync_manager.h b/components/sync/engine/sync_manager.h
index 65631f0fd7e72099183843912e91a12911dadefa..8ece474f4e0af507cbac402451838c834f14beec 100644
--- a/components/sync/engine/sync_manager.h
+++ b/components/sync/engine/sync_manager.h
@@ -269,8 +269,6 @@ class SyncManager {
std::unique_ptr<SyncEncryptionHandler::NigoriState> saved_nigori_state;
};
- using ClearServerDataCallback = base::Callback<void(void)>;
-
SyncManager();
virtual ~SyncManager();
@@ -403,7 +401,7 @@ class SyncManager {
// This is an asynchronous operation that requires interaction with the sync
// server. The operation will automatically be retried with backoff until it
// completes successfully or sync is shutdown.
- virtual void ClearServerData(const ClearServerDataCallback& callback) = 0;
+ virtual void ClearServerData(const base::Closure& callback) = 0;
// Updates Sync's tracking of whether the cookie jar has a mismatch with the
// chrome account. See ClientConfigParams proto message for more info.
« no previous file with comments | « components/sync/engine/sync_engine.h ('k') | components/sync/engine_impl/sync_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698