Home | History | Annotate | Download | only in glue

Lines Matching full:syncer

41 // A faux-syncer that only interacts with its model safe worker.
42 class Syncer {
44 explicit Syncer(UIModelWorker* worker) : worker_(worker) {}
45 ~Syncer() {}
54 DISALLOW_COPY_AND_ASSIGN(Syncer);
57 // A task run from the SyncerThread to "sync share", ie tell the Syncer to
61 FakeSyncShareTask(Syncer* syncer, UIModelWorkerVisitor* visitor)
62 : syncer_(syncer), visitor_(visitor) {
68 Syncer* syncer_;
84 // result in the syncer calling it's own destructor, which results in
86 // syncer in RequestEarlyExit mode and waits until the Syncer finishes
87 // SyncShare to remove the syncer from it's watch. Here we just manually
114 syncer_.reset(new Syncer(bmw_.get()));
117 Syncer* syncer() { return syncer_.get(); }
127 scoped_ptr<Syncer> syncer_;
136 new FakeSyncShareTask(syncer(), v.get()));
154 // 3 - the syncer is waiting on the UIModelWorker to
162 // the task scheduled by the Syncer is _never_ run).
172 new FakeSyncShareTask(syncer(), v.get()));
179 // which is called when FakeSyncapiShutdownTask runs and deletes the syncer.
187 // This situation should not happen in real life because the Syncer should
210 new FakeSyncShareTask(syncer(), fox1.get()));
212 new FakeSyncShareTask(syncer(), fox2.get()));
218 new FakeSyncShareTask(syncer(), fox3.get()));
221 // which is called when FakeSyncapiShutdownTask runs and deletes the syncer.