summaryrefslogtreecommitdiffstats
path: root/chrome/browser/file_path_watcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/file_path_watcher.h')
-rw-r--r--chrome/browser/file_path_watcher.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/chrome/browser/file_path_watcher.h b/chrome/browser/file_path_watcher.h
index da123c6..51d25cf 100644
--- a/chrome/browser/file_path_watcher.h
+++ b/chrome/browser/file_path_watcher.h
@@ -33,17 +33,11 @@ class FilePathWatcher {
};
FilePathWatcher();
- ~FilePathWatcher() {
- impl_->Cancel();
- }
+ ~FilePathWatcher();
// Register interest in any changes on |path|. OnPathChanged will be called
// back for each change. Returns true on success.
- bool Watch(const FilePath& path, Delegate* delegate) WARN_UNUSED_RESULT {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
- DCHECK(path.IsAbsolute());
- return impl_->Watch(path, delegate);
- }
+ bool Watch(const FilePath& path, Delegate* delegate) WARN_UNUSED_RESULT;
// Used internally to encapsulate different members on different platforms.
class PlatformDelegate