Update broken references to image assets
[chromium-blink-merge.git] / base / files / file_path_watcher_stub.cc
blob8138692ede11f3f178bf84f5bd7d7733c0bae6aa
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 {
12 namespace {
14 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
15 public:
16 bool Watch(const FilePath& path,
17 bool recursive,
18 const FilePathWatcher::Callback& callback) override {
19 return false;
22 void Cancel() override {}
24 void CancelOnMessageLoopThread() override {}
26 protected:
27 ~FilePathWatcherImpl() override {}
30 } // namespace
32 FilePathWatcher::FilePathWatcher() {
33 impl_ = new FilePathWatcherImpl();
36 } // namespace base