| Index: content/common/file_path_watcher/file_path_watcher.h
|
| diff --git a/content/common/file_path_watcher/file_path_watcher.h b/content/common/file_path_watcher/file_path_watcher.h
|
| index 7c784a8bc44fa9777ace5c93f5d1957069a2ee85..8d73b786e69559bdd7e10f3ac1e3f7cc3646c313 100644
|
| --- a/content/common/file_path_watcher/file_path_watcher.h
|
| +++ b/content/common/file_path_watcher/file_path_watcher.h
|
| @@ -40,6 +40,8 @@ class FilePathWatcher {
|
| // by the Mac implementation right now, and must be backed by a CFRunLoop
|
| // based MessagePump. This is usually going to be a MessageLoop of type
|
| // TYPE_UI.
|
| + // OnFilePathChanged() will be called on the same thread as Watch() is called,
|
| + // which should have a MessageLoop of TYPE_IO.
|
| bool Watch(const FilePath& path,
|
| Delegate* delegate,
|
| base::MessageLoopProxy* loop) WARN_UNUSED_RESULT;
|
|
|