Lines Matching defs:TestDelegate
36 class TestDelegate;
47 void OnChange(TestDelegate* delegate) {
54 void Register(TestDelegate* delegate) {
67 void RecordChange(TestDelegate* delegate) {
78 std::set<TestDelegate*> delegates_;
81 std::set<TestDelegate*> signaled_;
90 // we keep simple thread safe status flags in TestDelegate.
91 class TestDelegate : public FilePathWatcher::Delegate {
96 explicit TestDelegate(NotificationCollector* collector)
112 DISALLOW_COPY_AND_ASSIGN(TestDelegate);
207 scoped_refptr<TestDelegate> delegate(new TestDelegate(collector()));
219 scoped_refptr<TestDelegate> delegate(new TestDelegate(collector()));
233 scoped_refptr<TestDelegate> delegate(new TestDelegate(collector()));
245 scoped_refptr<TestDelegate> delegate(new TestDelegate(collector()));
289 scoped_refptr<TestDelegate> delegate(new TestDelegate(collector()));
298 scoped_refptr<TestDelegate> delegate1(new TestDelegate(collector()));
299 scoped_refptr<TestDelegate> delegate2(new TestDelegate(collector()));
313 scoped_refptr<TestDelegate> delegate(new TestDelegate(collector()));
345 scoped_refptr<TestDelegate> delegate(new TestDelegate(collector()));
370 scoped_refptr<TestDelegate> delegate(new TestDelegate(collector()));
381 scoped_refptr<TestDelegate> delegate(new TestDelegate(collector()));
398 scoped_refptr<TestDelegate> delegate(new TestDelegate(collector()));
432 scoped_refptr<TestDelegate> file_delegate(new TestDelegate(collector()));
434 scoped_refptr<TestDelegate> subdir_delegate(new TestDelegate(collector()));
463 scoped_refptr<TestDelegate> file_delegate(new TestDelegate(collector()));
465 scoped_refptr<TestDelegate> subdir_delegate(new TestDelegate(collector()));
481 scoped_refptr<TestDelegate> delegate(new TestDelegate(collector()));
599 scoped_refptr<TestDelegate> delegate(new TestDelegate(collector()));