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

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

Issue 11052007: Rename ModelType/ObjectIdStateMap to InvalidationMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 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 | « chrome/browser/sync/profile_sync_service.h ('k') | chrome/browser/sync/profile_sync_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 95f53af9b1880dcd148eef07a30700ae1a27c2a9..4dc2b1bde10a904066ce3595fb63121eb104ba84 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -479,9 +479,9 @@ void ProfileSyncService::EmitInvalidationForTest(
syncer::ObjectIdSet notify_ids;
notify_ids.insert(id);
- const syncer::ObjectIdStateMap& id_state_map =
- ObjectIdSetToStateMap(notify_ids, payload);
- OnIncomingInvalidation(id_state_map, syncer::REMOTE_INVALIDATION);
+ const syncer::ObjectIdInvalidationMap& invalidation_map =
+ ObjectIdSetToInvalidationMap(notify_ids, payload);
+ OnIncomingInvalidation(invalidation_map, syncer::REMOTE_INVALIDATION);
}
void ProfileSyncService::Shutdown() {
@@ -682,9 +682,10 @@ void ProfileSyncService::OnInvalidatorStateChange(
}
void ProfileSyncService::OnIncomingInvalidation(
- const syncer::ObjectIdStateMap& id_state_map,
+ const syncer::ObjectIdInvalidationMap& invalidation_map,
syncer::IncomingInvalidationSource source) {
- invalidator_registrar_.DispatchInvalidationsToHandlers(id_state_map, source);
+ invalidator_registrar_.DispatchInvalidationsToHandlers(invalidation_map,
+ source);
}
void ProfileSyncService::OnBackendInitialized(
« no previous file with comments | « chrome/browser/sync/profile_sync_service.h ('k') | chrome/browser/sync/profile_sync_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698