summaryrefslogtreecommitdiffstats
path: root/chrome/browser/file_watcher_mac.cc
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 07:05:23 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 07:05:23 +0000
commit7b7bbbe82533e74b60a924dc4d563f6d3f07482c (patch)
tree45c2c8f1abf86a9a86d0e92d57930de6a40b306d /chrome/browser/file_watcher_mac.cc
parent9e743cddfd631038fe6f1cdde050e18d61319ec6 (diff)
downloadchromium_src-7b7bbbe82533e74b60a924dc4d563f6d3f07482c.zip
chromium_src-7b7bbbe82533e74b60a924dc4d563f6d3f07482c.tar.gz
chromium_src-7b7bbbe82533e74b60a924dc4d563f6d3f07482c.tar.bz2
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
Diffstat (limited to 'chrome/browser/file_watcher_mac.cc')
-rw-r--r--chrome/browser/file_watcher_mac.cc2
1 files changed, 2 insertions, 0 deletions
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]));