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

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

Issue 12114012: Remove syncer::IncomingInvalidationSource (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comment Created 7 years, 11 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 b16c3728ac29f826c984ac740774012002bd26fa..599f11e173837fa1330edb94ad9fdbb2afd2fcb4 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -542,7 +542,7 @@ void ProfileSyncService::EmitInvalidationForTest(
const syncer::ObjectIdInvalidationMap& invalidation_map =
ObjectIdSetToInvalidationMap(notify_ids, payload);
- OnIncomingInvalidation(invalidation_map, syncer::REMOTE_INVALIDATION);
+ OnIncomingInvalidation(invalidation_map);
}
void ProfileSyncService::Shutdown() {
@@ -752,10 +752,8 @@ void ProfileSyncService::OnInvalidatorStateChange(
}
void ProfileSyncService::OnIncomingInvalidation(
- const syncer::ObjectIdInvalidationMap& invalidation_map,
- syncer::IncomingInvalidationSource source) {
- invalidator_registrar_->DispatchInvalidationsToHandlers(invalidation_map,
- source);
+ const syncer::ObjectIdInvalidationMap& invalidation_map) {
+ invalidator_registrar_->DispatchInvalidationsToHandlers(invalidation_map);
}
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