libbrillo: Convert base::Bind/Callback to Once/Repeating

This is a part of the base::Callback cleanup project.
See go/chromeos-code-health-callback for more details.

BUG=chromium:1205291
TEST=USE="-cros-debug" FEATURES=test emerge-volteer libbrillo

Change-Id: Icaecf5f3dc4450aee7ef175bfafb51b026e40b8f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/3631833
Tested-by: Wei-Luan Wang <weiluanwang@google.com>
Commit-Queue: Wei-Luan Wang <weiluanwang@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
NOKEYCHECK=True
GitOrigin-RevId: 1e11dd19081aa34091a090b3628d55036a94accc
9 files changed
tree: 514f5768c72a0314115392b119fe50a165d2a928
  1. brillo/
  2. install_attributes/
  3. policy/
  4. BUILD.gn
  5. libpolicy.ver
  6. OWNERS
  7. PRESUBMIT.cfg
  8. README.md
  9. testrunner.cc
README.md

libbrillo: platform utility library

libbrillo is a shared library meant to hold common utility code that we deem useful for platform projects. It supplements the functionality provided by libbase/libchrome since that project, by design, only holds functionality that Chromium (the browser) needs. As a result, this tends to be more OS-centric code.

AOSP Usage

This project is also used by Update Engine which is maintained in AOSP. However, AOSP doesn't use this codebase directly, it maintains its own libbrillo fork.

To help keep the projects in sync, we have a gsubtree set up on our GoB: https://chromium.googlesource.com/chromiumos/platform2/libbrillo/

This allows AOSP to cherry pick or merge changes directly back into their fork.