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

Unified Diff: sync/notifier/fake_invalidator.cc

Issue 10911084: Implement Invalidator::Acknowledge (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 10 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: sync/notifier/fake_invalidator.cc
diff --git a/sync/notifier/fake_invalidator.cc b/sync/notifier/fake_invalidator.cc
index b7cfd4dd4fcba1c5525d3d1626cc47f0be8e2435..3c9179822eac81c94a0f76a780c213d22470c572 100644
--- a/sync/notifier/fake_invalidator.cc
+++ b/sync/notifier/fake_invalidator.cc
@@ -50,7 +50,7 @@ void FakeInvalidator::RegisterHandler(InvalidationHandler* handler) {
}
void FakeInvalidator::UpdateRegisteredIds(InvalidationHandler* handler,
- const ObjectIdSet& ids) {
+ const ObjectIdSet& ids) {
registrar_.UpdateRegisteredIds(handler, ids);
}
@@ -58,6 +58,10 @@ void FakeInvalidator::UnregisterHandler(InvalidationHandler* handler) {
registrar_.UnregisterHandler(handler);
}
+void FakeInvalidator::Acknowledge(const invalidation::ObjectId& id,
+ const AckHandle& ack_handle) {
akalin 2013/02/15 22:32:12 // Do nothing.
dcheng 2013/02/22 02:51:30 Done.
+}
+
InvalidatorState FakeInvalidator::GetInvalidatorState() const {
return registrar_.GetInvalidatorState();
}

Powered by Google App Engine
This is Rietveld 408576698