Home | History | Annotate | Download | only in invalidation

Lines Matching refs:ids

111 // Initialize the invalidator, register a handler, register some IDs for that
114 // its IDs are registered.
128 // Should be ignored since no IDs are registered to |handler|.
132 syncer::ObjectIdSet ids;
133 ids.insert(this->id1);
134 ids.insert(this->id2);
135 invalidator->UpdateRegisteredInvalidationIds(&handler, ids);
149 ids.erase(this->id1);
150 ids.insert(this->id3);
151 invalidator->UpdateRegisteredInvalidationIds(&handler, ids);
156 // Removed object IDs should not be notified, newly-added ones should.
178 // Register handlers and some IDs for those handlers, register a handler with
179 // no IDs, and register a handler with some IDs but unregister it. Then,
181 // should get invalidations, and the ones that have registered IDs should
182 // receive invalidations for those IDs.
198 syncer::ObjectIdSet ids;
199 ids.insert(this->id1);
200 ids.insert(this->id2);
201 invalidator->UpdateRegisteredInvalidationIds(&handler1, ids);
205 syncer::ObjectIdSet ids;
206 ids.insert(this->id3);
207 invalidator->UpdateRegisteredInvalidationIds(&handler2, ids);
210 // Don't register any IDs for handler3.
213 syncer::ObjectIdSet ids;
214 ids.insert(this->id4);
215 invalidator->UpdateRegisteredInvalidationIds(&handler4, ids);
284 syncer::ObjectIdSet ids;
285 ids.insert(this->id1);
286 ids.insert(this->id2);
287 invalidator->UpdateRegisteredInvalidationIds(&handler1, ids);
291 syncer::ObjectIdSet ids;
292 ids.insert(this->id3);
293 invalidator->UpdateRegisteredInvalidationIds(&handler2, ids);
296 // Unregister the IDs for the first observer. It should not receive any