From 7b7bbbe82533e74b60a924dc4d563f6d3f07482c Mon Sep 17 00:00:00 2001 From: "tony@chromium.org" Date: Tue, 16 Mar 2010 07:05:23 +0000 Subject: Re-enable FileWatcher tests on mac, but mark them as flaky. Review URL: http://codereview.chromium.org/1021002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41690 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/file_watcher_mac.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/browser/file_watcher_mac.cc') diff --git a/chrome/browser/file_watcher_mac.cc b/chrome/browser/file_watcher_mac.cc index be572d5..638654c 100644 --- a/chrome/browser/file_watcher_mac.cc +++ b/chrome/browser/file_watcher_mac.cc @@ -38,6 +38,7 @@ class FileWatcherImpl : public FileWatcher::PlatformDelegate { ChromeThread::PostTask(ChromeThread::UI, FROM_HERE, NewRunnableMethod(this, &FileWatcherImpl::WatchImpl, path, delegate)); } else { + LOG(INFO) << "Adding FileWatcher watch."; // During unittests, there is only one thread and it is both the UI // thread and the file thread. WatchImpl(path, delegate); @@ -103,6 +104,7 @@ void FSEventsCallback(ConstFSEventStreamRef stream, NewRunnableMethod(watcher, &FileWatcherImpl::OnFSEventsCallback, FilePath(paths[i]))); } else { + LOG(INFO) << "FileWatcher event callback for " << paths[i]; // During unittests, there is only one thread and it is both the UI // thread and the file thread. watcher->OnFSEventsCallback(FilePath(paths[i])); -- cgit v1.1