Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: chrome/common/file_path_watcher/file_path_watcher_stub.cc

Issue 6670081: Move FilePathWatcher class from browser/... to common/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file exists for Unix systems which don't have the inotify headers, and 5 // This file exists for Unix systems which don't have the inotify headers, and
6 // thus cannot build file_watcher_inotify.cc 6 // thus cannot build file_watcher_inotify.cc
7 7
8 #include "chrome/browser/file_path_watcher/file_path_watcher.h" 8 #include "chrome/common/file_path_watcher/file_path_watcher.h"
9 9
10 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate { 10 class FilePathWatcherImpl : public FilePathWatcher::PlatformDelegate {
11 public: 11 public:
12 virtual bool Watch(const FilePath& path, FileWatcher::Delegate* delegate) { 12 virtual bool Watch(const FilePath& path,
13 FileWatcher::Delegate* delegate,
14 scoped_refptr<base::MessageLoopProxy>) OVERRIDE {
13 return false; 15 return false;
14 } 16 }
15 }; 17 };
16 18
17 FilePathWatcher::FilePathWatcher() { 19 FilePathWatcher::FilePathWatcher() {
18 impl_ = new FilePathWatcherImpl(); 20 impl_ = new FilePathWatcherImpl();
19 } 21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698