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

Side by Side Diff: chrome/browser/file_path_watcher/file_path_watcher.h

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 module provides a way to monitor a file or directory for changes. 5 // This module provides a way to monitor a file or directory for changes.
6 6
7 #ifndef CHROME_BROWSER_FILE_PATH_WATCHER_H_ 7 #ifndef CHROME_BROWSER_FILE_PATH_WATCHER_FILE_PATH_WATCHER_H_
8 #define CHROME_BROWSER_FILE_PATH_WATCHER_H_ 8 #define CHROME_BROWSER_FILE_PATH_WATCHER_FILE_PATH_WATCHER_H_
9 #pragma once 9 #pragma once
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/ref_counted.h" 13 #include "base/ref_counted.h"
14 #include "chrome/browser/browser_thread.h" 14 #include "chrome/browser/browser_thread.h"
15 15
16 // This class lets you register interest in changes on a FilePath. 16 // This class lets you register interest in changes on a FilePath.
17 // The delegate will get called whenever the file or directory referenced by the 17 // The delegate will get called whenever the file or directory referenced by the
18 // FilePath is changed, including created or deleted. Due to limitations in the 18 // FilePath is changed, including created or deleted. Due to limitations in the
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // allow to shut down properly while the object is still alive. 54 // allow to shut down properly while the object is still alive.
55 virtual void Cancel() {} 55 virtual void Cancel() {}
56 }; 56 };
57 57
58 private: 58 private:
59 scoped_refptr<PlatformDelegate> impl_; 59 scoped_refptr<PlatformDelegate> impl_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(FilePathWatcher); 61 DISALLOW_COPY_AND_ASSIGN(FilePathWatcher);
62 }; 62 };
63 63
64 #endif // CHROME_BROWSER_FILE_PATH_WATCHER_H_ 64 #endif // CHROME_BROWSER_FILE_PATH_WATCHER_FILE_PATH_WATCHER_H_
OLDNEW
« no previous file with comments | « chrome/browser/file_path_watcher.cc ('k') | chrome/browser/file_path_watcher/file_path_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698