Home | History | Annotate | Download | only in base

Lines Matching defs:Invalidation

23 // Represents a local invalidation, and is roughly analogous to
24 // invalidation::Invalidation. Unlike invalidation::Invalidation, this class
26 class SYNC_EXPORT Invalidation {
29 static Invalidation Init(
30 const invalidation::ObjectId& id,
33 static Invalidation InitUnknownVersion(const invalidation::ObjectId& id);
34 static Invalidation InitFromDroppedInvalidation(const Invalidation& dropped);
35 static scoped_ptr<Invalidation> InitFromValue(
38 ~Invalidation();
41 bool Equals(const Invalidation& other) const;
43 invalidation::ObjectId object_id() const;
54 // Sets the AckHandler to be used to track this Invalidation.
56 // This should be set by the class that generates the invalidation. Clients
72 // Acknowledges the receipt of this invalidation.
74 // Clients should call this on a received invalidation when they have fully
75 // processed the invalidation and persisted the results to disk. Once this
77 // re-deliver this invalidation in the event of a crash or restart.
80 // Informs the ack tracker that this invalidation will not be serviced.
84 // invalidations in order to allow the ack tracker to drop the invalidation,
98 Invalidation(const invalidation::ObjectId& id,
104 // The ObjectId to which this invalidation belongs.
105 invalidation::ObjectId id_;
107 // This flag is set to true if this is an unknown version invalidation.
110 // The version number of this invalidation. Should not be accessed if this is
111 // an unkown version invalidation.
114 // The payaload associated with this invalidation. Should not be accessed if
115 // this is an unknown version invalidation.