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

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

Issue 10911084: Implement Invalidator::Acknowledge (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 366026f19d0ee7d468d93903afe21b9b920ee832..9f978ca79efe0976ed501cdf8805f2949d8e525e 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -468,6 +468,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());
+ backend_->AcknowledgeInvalidation(id, ack_handle);
+}
+
syncer::InvalidatorState ProfileSyncService::GetInvalidatorState() const {
return invalidator_registrar_.GetInvalidatorState();
}

Powered by Google App Engine
This is Rietveld 408576698