libchrome: Add presubmit check for deprecated Delete functions.

base::DeleteFile and base::DeletePathRecursively should not be used on
ChromeOS. Instead use the brillo versions.

BUG=b:272503861
TEST=repo upload # for a CL that introduces a base::DeleteFile call

Change-Id: I225489b077f60769bde41f06d87284cda38c6866
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/libchrome/+/4354711
Commit-Queue: Qijiang Yūki Ishii <fqj@google.com>
Reviewed-by: Qijiang Yūki Ishii <fqj@google.com>
Tested-by: Allen Webb <allenwebb@google.com>
Auto-Submit: Allen Webb <allenwebb@google.com>
Commit-Queue: Allen Webb <allenwebb@google.com>
1 file changed
tree: 260991e5ff3f16787dc3262ddbd0b0bff969d7cb
  1. base/
  2. build/
  3. components/
  4. crypto/
  5. dbus/
  6. device/
  7. ipc/
  8. libchrome_tools/
  9. mojo/
  10. soong/
  11. testing/
  12. third_party/
  13. ui/
  14. .gitignore
  15. BASE_VER
  16. BUILD.gn
  17. BUILD.IGNORE
  18. DIR_METADATA
  19. MODULE_LICENSE_BSD
  20. NOTICE
  21. OWNERS
  22. PRESUBMIT.cfg
  23. README.md
  24. testrunner.cc
  25. unblocked_terms.txt
README.md

libchrome

Overview

This directory includes the source from Chrome's libbase for use in Chrome OS.

See libchrome.md for more info.