Lines Matching defs:TestDelegate
38 class TestDelegate;
49 void OnChange(TestDelegate* delegate) {
55 void Register(TestDelegate* delegate) {
71 void RecordChange(TestDelegate* delegate) {
83 std::set<TestDelegate*> delegates_;
86 std::set<TestDelegate*> signaled_;
106 // Instead, TestDelegate gets the notifications from FilePathWatcher and uses
108 class TestDelegate : public TestDelegateBase {
110 explicit TestDelegate(NotificationCollector* collector)
114 virtual ~TestDelegate() {}
126 DISALLOW_COPY_AND_ASSIGN(TestDelegate);
174 void DeleteDelegateOnFileThread(TestDelegate* delegate) {
232 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
245 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
260 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
273 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
325 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
335 scoped_ptr<TestDelegate> delegate1(new TestDelegate(collector()));
336 scoped_ptr<TestDelegate> delegate2(new TestDelegate(collector()));
352 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
385 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
415 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
427 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
445 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
480 scoped_ptr<TestDelegate> file_delegate(new TestDelegate(collector()));
482 scoped_ptr<TestDelegate> subdir_delegate(new TestDelegate(collector()));
504 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
557 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
578 scoped_ptr<TestDelegate> file_delegate(new TestDelegate(collector()));
580 scoped_ptr<TestDelegate> subdir_delegate(new TestDelegate(collector()));
599 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
615 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
633 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
648 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
663 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
679 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
697 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
726 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
756 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
886 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));