commit | 419dc977209edd7799484e0b772d0f3aa5cd200a | [log] [tgz] |
---|---|---|
author | Bailey Berro <baileyberro@chromium.org> | Fri Mar 09 22:30:16 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 09 22:30:16 2018 |
tree | e3466c6b753692536e7c841ca700e533cb87d4f1 | |
parent | 91d310c125df1e612442c3324b20a9eaffae15a6 [diff] |
Refactor SmbFileSystem to use GetDeleteList This change updates the DeleteEntry method on SmbFileSystem to use GetDeleteList. When a DeleteEntry call comes in from the Files API, SmbFileSystem first makes a call to GetDeleteList in order to get an ordered list of entries that need to be deleted, and subsequently calls DeleteEntry on each entry in the list. If there is an error generating the delete_list, delete will still be attempted on any entries in the delete_list, and the error will be returned. Otherwise (ie generating the delete_list succeeds), the error_code from performing the deletes willbe returned. Bug: chromium:757625 Test: verified recursive delete still works on Eve Change-Id: I1afb3498ee51280d70291dd31f50a550129c4381 Reviewed-on: https://chromium-review.googlesource.com/937881 Reviewed-by: Zentaro Kavanagh <zentaro@chromium.org> Commit-Queue: Bailey Berro <baileyberro@chromium.org> Cr-Commit-Position: refs/heads/master@{#542252}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .