| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 BASE_FILES_FILE_PATH_WATCHER_H_ | 7 #ifndef BASE_FILES_FILE_PATH_WATCHER_H_ |
| 8 #define BASE_FILES_FILE_PATH_WATCHER_H_ | 8 #define BASE_FILES_FILE_PATH_WATCHER_H_ |
| 9 #pragma once | |
| 10 | 9 |
| 11 #include "base/base_export.h" | 10 #include "base/base_export.h" |
| 12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 13 #include "base/callback.h" | 12 #include "base/callback.h" |
| 14 #include "base/file_path.h" | 13 #include "base/file_path.h" |
| 15 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 16 #include "base/message_loop_proxy.h" | 15 #include "base/message_loop_proxy.h" |
| 17 | 16 |
| 18 namespace base { | 17 namespace base { |
| 19 namespace files { | 18 namespace files { |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 private: | 126 private: |
| 128 scoped_refptr<PlatformDelegate> impl_; | 127 scoped_refptr<PlatformDelegate> impl_; |
| 129 | 128 |
| 130 DISALLOW_COPY_AND_ASSIGN(FilePathWatcher); | 129 DISALLOW_COPY_AND_ASSIGN(FilePathWatcher); |
| 131 }; | 130 }; |
| 132 | 131 |
| 133 } // namespace files | 132 } // namespace files |
| 134 } // namespace base | 133 } // namespace base |
| 135 | 134 |
| 136 #endif // BASE_FILES_FILE_PATH_WATCHER_H_ | 135 #endif // BASE_FILES_FILE_PATH_WATCHER_H_ |
| OLD | NEW |