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

Unified Diff: sync/notifier/invalidator_registrar.h

Issue 159773006: [invalidations] Added table with registered objectsIds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@about_invalidations_clean
Patch Set: Created 6 years, 10 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/notifier/invalidator_registrar.h
diff --git a/sync/notifier/invalidator_registrar.h b/sync/notifier/invalidator_registrar.h
index fb6b3881c3c9016a3eb8267f7f228151ac56a356..145b7c3f0c2fc4859d9e864be6057ed598941283 100644
--- a/sync/notifier/invalidator_registrar.h
+++ b/sync/notifier/invalidator_registrar.h
@@ -71,6 +71,11 @@ class SYNC_EXPORT InvalidatorRegistrar {
// updated state.
InvalidatorState GetInvalidatorState() const;
+ // Gets a new map for the name of invalidator handlers and their
+ // objects id. This is used by the InvalidatorLogger to be able
+ // to display every registered handlers and its objectsIds.
+ std::map<std::string, ObjectIdSet> GetSanitizedHandlersIdsMap();
+
bool IsHandlerRegisteredForTest(InvalidationHandler* handler) const;
// Needed for death tests.

Powered by Google App Engine
This is Rietveld 408576698