Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Issue 679573002: [fsp] Separate recursive and non-recursive watchers. (Closed)

Created:
6 years, 2 months ago by mtomasz
Modified:
6 years, 1 month ago
Reviewers:
benwells, hirono
CC:
chromium-reviews, extensions-reviews_chromium.org, nkostylev+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[fsp] Separate recursive and non-recursive watchers. With this patch, if one extension has a recursive watcher, and another non- recursive one, then the providing extension will know about both of them. In an upcoming patch ObservedEntry will be renamed to Watcher, since now we can have two observed entries for the same path, which doesn't sound the best. TEST=unit_tests, browser_tests: *FileSystemProvider* BUG=248427 Committed: https://crrev.com/60c10816ed1c9cbabdd4ef1a1b640b8009912f81 Cr-Commit-Position: refs/heads/master@{#301532}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed. #

Total comments: 12

Patch Set 3 : Fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -110 lines) Patch
M chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc View 1 2 3 chunks +18 lines, -21 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/fake_provided_file_system.h View 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/fake_provided_file_system.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/file_system_provider/observed_entry.h View 1 2 1 chunk +16 lines, -1 line 0 comments Download
M chrome/browser/chromeos/file_system_provider/observed_entry.cc View 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/operations/unobserve_entry.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/operations/unobserve_entry.cc View 1 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/operations/unobserve_entry_unittest.cc View 1 5 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system.h View 2 chunks +8 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system.cc View 1 8 chunks +36 lines, -21 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system_interface.h View 2 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system_observer.h View 2 chunks +9 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system_observer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/provided_file_system_unittest.cc View 1 2 11 chunks +26 lines, -19 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/registry.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/registry_unittest.cc View 3 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/file_system_provider/service.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/file_system_provider/service.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/file_system_provider/service_unittest.cc View 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/common/extensions/api/file_system_provider.idl View 1 2 chunks +11 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
mtomasz
@hirono: PTAL. Thanks!
6 years, 2 months ago (2014-10-24 01:41:04 UTC) #2
hirono
https://codereview.chromium.org/679573002/diff/1/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/679573002/diff/1/chrome/common/extensions/api/file_system_provider.idl#newcode343 chrome/common/extensions/api/file_system_provider.idl:343: DOMString entryPath; recursive is needed? https://codereview.chromium.org/679573002/diff/1/chrome/common/extensions/api/file_system_provider.idl#newcode362 chrome/common/extensions/api/file_system_provider.idl:362: DOMString observedPath; ...
6 years, 2 months ago (2014-10-24 04:34:54 UTC) #3
mtomasz
https://codereview.chromium.org/679573002/diff/1/chrome/common/extensions/api/file_system_provider.idl File chrome/common/extensions/api/file_system_provider.idl (right): https://codereview.chromium.org/679573002/diff/1/chrome/common/extensions/api/file_system_provider.idl#newcode343 chrome/common/extensions/api/file_system_provider.idl:343: DOMString entryPath; On 2014/10/24 04:34:54, hirono wrote: > recursive ...
6 years, 2 months ago (2014-10-24 05:37:50 UTC) #4
hirono
https://codereview.chromium.org/679573002/diff/20001/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc File chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc (right): https://codereview.chromium.org/679573002/diff/20001/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc#newcode56 chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc:56: const api::file_system_provider::Change& child_change) { nit: child_change -> change https://codereview.chromium.org/679573002/diff/20001/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc#newcode65 ...
6 years, 2 months ago (2014-10-24 06:58:43 UTC) #5
mtomasz
https://codereview.chromium.org/679573002/diff/20001/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc File chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc (right): https://codereview.chromium.org/679573002/diff/20001/chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc#newcode56 chrome/browser/chromeos/extensions/file_system_provider/file_system_provider_api.cc:56: const api::file_system_provider::Change& child_change) { On 2014/10/24 06:58:43, hirono wrote: ...
6 years, 2 months ago (2014-10-24 09:50:25 UTC) #6
hirono
lgtm. Thanks!
6 years, 1 month ago (2014-10-27 02:16:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/679573002/40001
6 years, 1 month ago (2014-10-27 03:54:07 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/20178)
6 years, 1 month ago (2014-10-27 03:59:03 UTC) #11
mtomasz
@benwells: PTAL at IDL. Thanks.
6 years, 1 month ago (2014-10-27 04:01:14 UTC) #13
benwells
idl lgtm
6 years, 1 month ago (2014-10-27 21:05:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/679573002/40001
6 years, 1 month ago (2014-10-28 01:02:37 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years, 1 month ago (2014-10-28 01:10:26 UTC) #17
commit-bot: I haz the power
6 years, 1 month ago (2014-10-28 01:11:08 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/60c10816ed1c9cbabdd4ef1a1b640b8009912f81
Cr-Commit-Position: refs/heads/master@{#301532}

Powered by Google App Engine
This is Rietveld 408576698