Chromium Code Reviews| 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 64b94227ff2559ad1d81bc27141055876d4c37ac..6a54a4dc4e08ad6926137fc690355412a4138ec2 100644 |
| --- a/chrome/browser/sync/profile_sync_service.cc |
| +++ b/chrome/browser/sync/profile_sync_service.cc |
| @@ -476,6 +476,14 @@ void ProfileSyncService::UnregisterInvalidationHandler( |
| invalidator_registrar_->UnregisterHandler(handler); |
| } |
| +void ProfileSyncService::AcknowledgeInvalidation( |
| + const invalidation::ObjectId& id, |
| + const syncer::AckHandle& ack_handle) { |
| + // TODO(dcheng): This DCHECK is probably wrong. |
| + DCHECK(backend_.get()); |
|
akalin
2012/10/19 13:27:16
you might have to check for backend_ and stash awa
dcheng
2012/10/19 19:38:11
Done.
|
| + backend_->AcknowledgeInvalidation(id, ack_handle); |
| +} |
| + |
| syncer::InvalidatorState ProfileSyncService::GetInvalidatorState() const { |
| return invalidator_registrar_->GetInvalidatorState(); |
| } |