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

Unified Diff: sync/notifier/invalidator_registrar.h

Issue 10874096: [Sync] Rework Invalidator-related unit tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments 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
« no previous file with comments | « sync/notifier/invalidator.h ('k') | sync/notifier/invalidator_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/invalidator_registrar.h
diff --git a/sync/notifier/invalidator_registrar.h b/sync/notifier/invalidator_registrar.h
index 6bb481b5f0ae1e63108fb71f80350130cfa727dc..485b73e309238b2f08474f3e7b4acb44cf857388 100644
--- a/sync/notifier/invalidator_registrar.h
+++ b/sync/notifier/invalidator_registrar.h
@@ -44,6 +44,8 @@ class InvalidatorRegistrar {
// associated with |handler|.
void UnregisterHandler(InvalidationHandler* handler);
+ ObjectIdSet GetRegisteredIds(InvalidationHandler* handler) const;
+
// Returns the set of all IDs that are registered to some handler (even
// handlers that have been unregistered).
ObjectIdSet GetAllRegisteredIds() const;
@@ -60,7 +62,6 @@ class InvalidatorRegistrar {
void EmitOnNotificationsDisabled(NotificationsDisabledReason reason);
bool IsHandlerRegisteredForTest(InvalidationHandler* handler) const;
- ObjectIdSet GetRegisteredIdsForTest(InvalidationHandler* handler) const;
// Needed for death tests.
void DetachFromThreadForTest();
« no previous file with comments | « sync/notifier/invalidator.h ('k') | sync/notifier/invalidator_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698