| OLD | NEW |
| 1 // Copyright (c) 2009 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 #include "chrome/browser/file_path_watcher.h" | 5 #include "chrome/browser/file_path_watcher/file_path_watcher.h" |
| 6 | 6 |
| 7 #include <CoreServices/CoreServices.h> | 7 #include <CoreServices/CoreServices.h> |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
| 11 #include "base/file_util.h" | 11 #include "base/file_util.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/mac/scoped_cftyperef.h" | 13 #include "base/mac/scoped_cftyperef.h" |
| 14 #include "base/singleton.h" | 14 #include "base/singleton.h" |
| 15 #include "base/time.h" | 15 #include "base/time.h" |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 FSEventStreamInvalidate(fsevent_stream_); | 223 FSEventStreamInvalidate(fsevent_stream_); |
| 224 FSEventStreamRelease(fsevent_stream_); | 224 FSEventStreamRelease(fsevent_stream_); |
| 225 fsevent_stream_ = NULL; | 225 fsevent_stream_ = NULL; |
| 226 } | 226 } |
| 227 | 227 |
| 228 } // namespace | 228 } // namespace |
| 229 | 229 |
| 230 FilePathWatcher::FilePathWatcher() { | 230 FilePathWatcher::FilePathWatcher() { |
| 231 impl_ = new FilePathWatcherImpl(); | 231 impl_ = new FilePathWatcherImpl(); |
| 232 } | 232 } |
| OLD | NEW |