[ew] Simplify the entry watcher logic.
commitb524db20a4704fb8e3047680d090c25d7a0a52c7
authormtomasz <mtomasz@chromium.org>
Mon, 27 Oct 2014 06:42:12 +0000 (26 23:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 27 Oct 2014 06:42:27 +0000 (27 06:42 +0000)
treed7fe719f831814333733738798d06a9efda296a8
parentfba4353dbd0f7c28fc4caca968715fba22397f0c
[ew] Simplify the entry watcher logic.

The responsibility of EntryWatcherService has been moved to WatcherManager
implementations.

Note, that the original code was unnecesarily complicated. After replacing
the observer interface with a simple callback, there is no need for an extra
service managing watchers anymore.

This was possible because with the new design entry watchers will no longer
survive reboots.

TEST=Compiles.
BUG=261491

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

Cr-Commit-Position: refs/heads/master@{#301319}
chrome/browser/extensions/api/file_system/entry_watcher_service.cc [deleted file]
chrome/browser/extensions/api/file_system/entry_watcher_service.h [deleted file]
chrome/browser/extensions/api/file_system/entry_watcher_service_factory.cc [deleted file]
chrome/browser/extensions/api/file_system/entry_watcher_service_factory.h [deleted file]
chrome/browser/extensions/api/file_system/entry_watcher_service_unittest.cc [deleted file]
chrome/chrome_browser_extensions.gypi
chrome/chrome_tests_unit.gypi
content/public/test/test_file_system_backend.cc
content/public/test/test_file_system_backend.h
storage/browser/fileapi/watcher_manager.h