Enables compositing support for webview.
[chromium-blink-merge.git] / base / files / file_path_watcher_stub.cc
blob0c25d7f86f8651ab04e0a0244c9555014afb99dd
1 // Copyright (c) 2012 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.
5 // This file exists for Unix systems which don't have the inotify headers, and
6 // thus cannot build file_watcher_inotify.cc
8 #include "base/files/file_path_watcher.h"
10 namespace base {
11 namespace files {
13 namespace {
15 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
16 public:
17 virtual bool Watch(const FilePath& path,
18 bool recursive,
19 FilePathWatcher::Delegate* delegate) OVERRIDE {
20 return false;
23 virtual void Cancel() OVERRIDE {}
25 virtual void CancelOnMessageLoopThread() OVERRIDE {}
27 protected:
28 virtual ~FilePathWatcherImpl() {}
31 } // namespace
33 FilePathWatcher::FilePathWatcher() {
34 impl_ = new FilePathWatcherImpl();
37 } // namespace files
38 } // namespace base