1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // This file exists for Linux systems which don't have the inotify headers, and 6 // thus cannot build directory_watcher_inotify.cc 7 8 #include "base/directory_watcher.h" 9 10 class DirectoryWatcherImpl : public DirectoryWatcher::PlatformDelegate { 11 public: Watch(const FilePath & path,DirectoryWatcher::Delegate * delegate,MessageLoop * backend_loop,bool recursive)12 virtual bool Watch(const FilePath& path, DirectoryWatcher::Delegate* delegate, 13 MessageLoop* backend_loop, bool recursive) { 14 return false; 15 } 16 }; 17 DirectoryWatcher()18DirectoryWatcher::DirectoryWatcher() { 19 impl_ = new DirectoryWatcherImpl(); 20 } 21