Descriptiondrive: Enable recursive fast-fetch.
- LoadDirectoryIfNeeded calls GetResourceEntryByPath for directory metadata.
- GetResourceEntryByPath calls LoadDirectoryIfNeeded for its parent if needed.
The cycle enables to fetch deep entries at any time without waiting for
the full feed nor user to dig down the hierarchy from the root.
Along the way, I removed the handling of ReadDirectoryByPath("drive/other")
that waited the full feed to arrive. By removing it, all FileSystem
operations are now clearly ensured not blocked by full feed fetching.
Listing up "drive/other" is meaningless; Files.app never does that.
BUG=285614
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221712
Patch Set 1 #Patch Set 2 : Fix tests #Patch Set 3 : Made the test to surely use fast-fetch. #
Total comments: 4
Patch Set 4 : Review fix #
Messages
Total messages: 11 (0 generated)
|