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);
161 void DeleteDelegateOnFileThread(TestDelegate* delegate) {
217 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
230 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
245 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
258 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
310 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
320 scoped_ptr<TestDelegate> delegate1(new TestDelegate(collector()));
321 scoped_ptr<TestDelegate> delegate2(new TestDelegate(collector()));
337 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
370 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
400 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
412 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
430 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
465 scoped_ptr<TestDelegate> file_delegate(new TestDelegate(collector()));
467 scoped_ptr<TestDelegate> subdir_delegate(new TestDelegate(collector()));
488 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
553 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
600 scoped_ptr<TestDelegate> file_delegate(new TestDelegate(collector()));
602 scoped_ptr<TestDelegate> subdir_delegate(new TestDelegate(collector()));
617 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
631 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
649 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
664 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
679 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
695 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
713 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
742 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
772 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));
849 scoped_ptr<TestDelegate> delegate(new TestDelegate(collector()));