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

Unified Diff: sync/notifier/sync_notifier_registrar.h

Issue 10837214: Refactor ModelTypePayloadMap and ObjectIdPayloadMap to StateMaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test 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/sync_notifier_observer.h ('k') | sync/notifier/sync_notifier_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/notifier/sync_notifier_registrar.h
diff --git a/sync/notifier/sync_notifier_registrar.h b/sync/notifier/sync_notifier_registrar.h
index 949e3caa1715c3241335fe8a245eed20ac61fe1d..4ebdc141817a263efb9fd9042cd4c0a1e3898430 100644
--- a/sync/notifier/sync_notifier_registrar.h
+++ b/sync/notifier/sync_notifier_registrar.h
@@ -11,7 +11,7 @@
#include "base/observer_list.h"
#include "base/threading/thread_checker.h"
#include "sync/notifier/invalidation_util.h"
-#include "sync/notifier/object_id_payload_map.h"
+#include "sync/notifier/object_id_state_map.h"
#include "sync/notifier/sync_notifier_observer.h"
namespace invalidation {
@@ -53,7 +53,7 @@ class SyncNotifierRegistrar {
// dispatches the batched invalidations to the corresponding handler.
// Invalidations for IDs with no corresponding handler are dropped, as are
// invalidations for handlers that are not added.
- void DispatchInvalidationsToHandlers(const ObjectIdPayloadMap& id_payloads,
+ void DispatchInvalidationsToHandlers(const ObjectIdStateMap& id_state_map,
IncomingNotificationSource source);
// Calls the given handler method for each handler that has registered IDs.
« no previous file with comments | « sync/notifier/sync_notifier_observer.h ('k') | sync/notifier/sync_notifier_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698