libchrome: preparation for r990000 uprev

* Added forward compatibility patch for base::FilePath::GetComponents
  that return by value. Also added pattern to presubmit check.
* Added pattern of WARN_UNUSED_RESULT to presubmit check.
* Added pattern of base::{size,empty,data} to presubmit check.
* Removed base::Value::GetAsString from libchrome by cherry-picking
  r971651 (only usage in update_engine has been removed).

Also remove outdated patterns from presubmit check.

BUG=b:228144902
TEST=emerge libchrome with changes that uses new API
TEST=confirm repo upload change which introduce old API will be warned

Change-Id: I4c8c0c4fbe933c6e540e58918b1fa2f0aef6109d
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/external/libchrome/+/3642280
Reviewed-by: Qijiang YĆ«ki Ishii <fqj@google.com>
Tested-by: Grace Cham <hscham@chromium.org>
Commit-Queue: Grace Cham <hscham@chromium.org>
4 files changed
tree: b468778bbfdad2504d0d26d1a9b26c6ee77f3215
  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. Android.bp
  16. BASE_VER
  17. BUILD.gn
  18. BUILD.IGNORE
  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.