• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2011 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 Unix systems which don't have the inotify headers, and
6 // thus cannot build file_watcher_inotify.cc
7 
8 #include "base/files/file_path_watcher.h"
9 
10 namespace base {
11 namespace files {
12 
13 namespace {
14 
15 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
16  public:
Watch(const FilePath & path,FileWatcher::Delegate * delegate,base::MessageLoopProxy *)17   virtual bool Watch(const FilePath& path,
18                      FileWatcher::Delegate* delegate,
19                      base::MessageLoopProxy*) OVERRIDE {
20     return false;
21   }
22 };
23 
24 }  // namespace
25 
FilePathWatcher()26 FilePathWatcher::FilePathWatcher() {
27   impl_ = new FilePathWatcherImpl();
28 }
29 
30 }  // namespace files
31 }  // namespace base
32