Index: sync/internal_api/public/base/invalidation.h |
diff --git a/sync/internal_api/public/base/invalidation.h b/sync/internal_api/public/base/invalidation.h |
index 4e157e0597172126df0fcbdaae41f52799d7f0a9..472f552972a47529d2aad96aa23268b72d93a3bf 100644 |
--- a/sync/internal_api/public/base/invalidation.h |
+++ b/sync/internal_api/public/base/invalidation.h |
@@ -54,14 +54,19 @@ class SYNC_EXPORT Invalidation { |
// TODO(rlarocque): Remove this method and use AckHandlers instead. |
void set_ack_handle(const AckHandle& ack_handle); |
+ // Functions from the alternative ack tracking framework. |
+ // Currently unused. |
void set_ack_handler(syncer::WeakHandle<AckHandler> ack_handler); |
- |
- // True if this class has a valid AckHandler. |
bool SupportsAcknowledgement() const; |
- |
- // TODO(rlarocque): Re-enable these when we switch to AckHandlers. |
- // void Acknowledge() const; |
- // void Drop(DroppedInvalidationTracker* tracker) const; |
+ void Acknowledge() const; |
+ |
+ // Drops an invalidation. |
+ // |
+ // The drop record will be tracked by the specified |
+ // DroppedInvalidationTracker. The caller should hang on to this tracker. It |
+ // will need to use it when it recovers from this drop event. See the |
+ // documentation of DroppedInvalidationTracker for more details. |
+ void Drop(DroppedInvalidationTracker* tracker) const; |
scoped_ptr<base::DictionaryValue> ToValue() const; |
std::string ToString() const; |