Access fields from the appropriate threads in FilePathWatcherFSEvents.

Limit reads and writes to the target_, resolved_target_ and callback_
fields to the libdispatch task runner only. This should resolve
possible races between calls to FilePathWatcherFSEvents::Watch and
incoming events.

BUG=457793

Review URL: https://codereview.chromium.org/1046353004

Cr-Commit-Position: refs/heads/master@{#324706}


CrOS-Libchrome-Original-Commit: 6422ac627ba05c4cbcbdec5a80484e5b8859028a
2 files changed
tree: 226a64e14e11d58e96bea7ffa41303328a8a75a3
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/