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

Unified Diff: sync/notifier/registration_manager.h

Issue 10824140: Add InvalidationStateTracker::Forget() to erase an entry from storage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix sync_client target Created 8 years, 3 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 | « sync/notifier/invalidation_state_tracker.h ('k') | sync/notifier/registration_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/registration_manager.h
diff --git a/sync/notifier/registration_manager.h b/sync/notifier/registration_manager.h
index 9d0036590441064db775142e1f5868928a2d1b61..01ae7b9c807327a54a88d7a51866d453037a9fbc 100644
--- a/sync/notifier/registration_manager.h
+++ b/sync/notifier/registration_manager.h
@@ -68,8 +68,9 @@ class RegistrationManager : public base::NonThreadSafe {
virtual ~RegistrationManager();
// Registers all object IDs included in the given set (that are not
- // already disabled) and unregisters all other object IDs.
- void UpdateRegisteredIds(const ObjectIdSet& ids);
+ // already disabled) and unregisters all other object IDs. The return value is
+ // the set of IDs that was unregistered.
+ ObjectIdSet UpdateRegisteredIds(const ObjectIdSet& ids);
// Marks the registration for the |id| lost and re-registers
// it (unless it's disabled).
« no previous file with comments | « sync/notifier/invalidation_state_tracker.h ('k') | sync/notifier/registration_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698