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

Unified Diff: sync/internal_api/public/sync_manager.h

Issue 10824161: [Sync] Avoid unregistering object IDs on shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address a couple of spots i missed Created 8 years, 4 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: sync/internal_api/public/sync_manager.h
diff --git a/sync/internal_api/public/sync_manager.h b/sync/internal_api/public/sync_manager.h
index 1fccac4e7ce519ae232b7b76aaa3808e50d5e6a0..45a0a99a4bb3791e9865b78ef3f9cf0c51c40318 100644
--- a/sync/internal_api/public/sync_manager.h
+++ b/sync/internal_api/public/sync_manager.h
@@ -407,10 +407,15 @@ class SyncManager {
virtual void UpdateEnabledTypes(
const ModelTypeSet& enabled_types) = 0;
+ // Forwards to the underlying notifier (see SyncNotifier::SetHandler()).
+ virtual void SetInvalidationHandler(
+ const std::string& handler_name,
+ SyncNotifierObserver* handler) = 0;
+
// Forwards to the underlying notifier (see
// SyncNotifier::UpdateRegisteredIds()).
virtual void UpdateRegisteredInvalidationIds(
- SyncNotifierObserver* handler,
+ const std::string& handler_name,
const ObjectIdSet& ids) = 0;
// Put the syncer in normal mode ready to perform nudges and polls.

Powered by Google App Engine
This is Rietveld 408576698