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

Unified Diff: chrome/browser/sync/profile_sync_service.cc

Issue 10837214: Refactor ModelTypePayloadMap and ObjectIdPayloadMap to StateMaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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: chrome/browser/sync/profile_sync_service.cc
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index d18185fb20d35e134e01b0bd1555fcb57fa510b7..d53d8f6e57b66ab119489636c9b157e5d8771b9f 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -680,9 +680,9 @@ void ProfileSyncService::OnNotificationsDisabled(
}
void ProfileSyncService::OnIncomingNotification(
- const syncer::ObjectIdPayloadMap& id_payloads,
+ const syncer::ObjectIdStateMap& id_state_map,
syncer::IncomingNotificationSource source) {
- notifier_registrar_.DispatchInvalidationsToHandlers(id_payloads, source);
+ notifier_registrar_.DispatchInvalidationsToHandlers(id_state_map, source);
}
void ProfileSyncService::OnBackendInitialized(

Powered by Google App Engine
This is Rietveld 408576698