| 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 "base/file_path.h" | 7 #include "base/file_path.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/object_watcher.h" | 10 #include "base/object_watcher.h" |
| 11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
| 12 #include "base/time.h" | 12 #include "base/time.h" |
| 13 | 13 |
| 14 namespace { | 14 namespace { |
| 15 | 15 |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 watcher_.StopWatching(); | 235 watcher_.StopWatching(); |
| 236 FindCloseChangeNotification(handle_); | 236 FindCloseChangeNotification(handle_); |
| 237 handle_ = INVALID_HANDLE_VALUE; | 237 handle_ = INVALID_HANDLE_VALUE; |
| 238 } | 238 } |
| 239 | 239 |
| 240 } // namespace | 240 } // namespace |
| 241 | 241 |
| 242 FilePathWatcher::FilePathWatcher() { | 242 FilePathWatcher::FilePathWatcher() { |
| 243 impl_ = new FilePathWatcherImpl(); | 243 impl_ = new FilePathWatcherImpl(); |
| 244 } | 244 } |
| OLD | NEW |