Lines Matching refs:watcher
135 FilePathWatcher* watcher, in SetupWatchCallback() argument
140 *result = watcher->Watch(target, recursive_watch, in SetupWatchCallback()
193 FilePathWatcher* watcher,
219 FilePathWatcher* watcher, in SetupWatch() argument
226 FROM_HERE, base::Bind(SetupWatchCallback, target, watcher, delegate, in SetupWatch()
234 FilePathWatcher watcher; in TEST_F() local
236 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F()
247 FilePathWatcher watcher; in TEST_F() local
249 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F()
262 FilePathWatcher watcher; in TEST_F() local
264 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F()
275 FilePathWatcher watcher; in TEST_F() local
277 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F()
289 Deleter(FilePathWatcher* watcher, MessageLoop* loop) in Deleter() argument
290 : watcher_(watcher), in Deleter()
301 FilePathWatcher* watcher() const { return watcher_.get(); } in watcher() function in base::__anonf96a742c0111::Deleter
312 FilePathWatcher* watcher = new FilePathWatcher; in TEST_F() local
314 std::unique_ptr<Deleter> deleter(new Deleter(watcher, &loop_)); in TEST_F()
315 ASSERT_TRUE(SetupWatch(test_file(), watcher, deleter.get(), false)); in TEST_F()
322 ASSERT_TRUE(deleter->watcher() == NULL); in TEST_F()
330 FilePathWatcher* watcher = new FilePathWatcher; in TEST_F() local
331 ASSERT_TRUE(SetupWatch(test_file(), watcher, delegate.get(), false)); in TEST_F()
333 file_thread_.task_runner()->DeleteSoon(FROM_HERE, watcher); in TEST_F()
353 FilePathWatcher watcher; in TEST_F() local
357 ASSERT_TRUE(SetupWatch(file, &watcher, delegate.get(), false)); in TEST_F()
387 FilePathWatcher watcher; in TEST_F() local
390 ASSERT_TRUE(SetupWatch(file, &watcher, delegate.get(), false)); in TEST_F()
414 FilePathWatcher watcher; in TEST_F() local
420 ASSERT_TRUE(SetupWatch(file, &watcher, delegate.get(), false)); in TEST_F()
430 FilePathWatcher watcher; in TEST_F() local
432 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F()
445 FilePathWatcher watcher; in TEST_F() local
450 ASSERT_TRUE(SetupWatch(dir, &watcher, delegate.get(), false)); in TEST_F()
505 FilePathWatcher watcher; in TEST_F() local
508 bool setup_result = SetupWatch(dir, &watcher, delegate.get(), true); in TEST_F()
583 FilePathWatcher watcher; in TEST_F() local
588 ASSERT_TRUE(SetupWatch(symlink, &watcher, delegate.get(), true)); in TEST_F()
658 FilePathWatcher watcher; in TEST_F() local
660 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F()
672 FilePathWatcher watcher; in TEST_F() local
675 ASSERT_TRUE(SetupWatch(test_link(), &watcher, delegate.get(), false)); in TEST_F()
690 FilePathWatcher watcher; in TEST_F() local
692 ASSERT_TRUE(SetupWatch(test_link(), &watcher, delegate.get(), false)); in TEST_F()
705 FilePathWatcher watcher; in TEST_F() local
708 ASSERT_TRUE(SetupWatch(test_link(), &watcher, delegate.get(), false)); in TEST_F()
720 FilePathWatcher watcher; in TEST_F() local
723 ASSERT_TRUE(SetupWatch(test_link(), &watcher, delegate.get(), false)); in TEST_F()
736 FilePathWatcher watcher; in TEST_F() local
739 ASSERT_TRUE(SetupWatch(test_link(), &watcher, delegate.get(), false)); in TEST_F()
750 FilePathWatcher watcher; in TEST_F() local
760 ASSERT_TRUE(SetupWatch(linkfile, &watcher, delegate.get(), false)); in TEST_F()
779 FilePathWatcher watcher; in TEST_F() local
789 ASSERT_TRUE(SetupWatch(linkfile, &watcher, delegate.get(), false)); in TEST_F()
809 FilePathWatcher watcher; in TEST_F() local
818 ASSERT_TRUE(SetupWatch(linkfile, &watcher, delegate.get(), false)); in TEST_F()
890 FilePathWatcher watcher; in TEST_F() local
892 ASSERT_TRUE(SetupWatch(test_file, &watcher, delegate.get(), false)); in TEST_F()