[roll] Roll fuchsia [driver manager] Refactor driver binding

Move some binding functions out of Coordinator into
a BindDriverManager class.

Remove AttemptBind from the function parameters and
store it in the BindDriverManager. Outside of a test,
the same AttemptBind is being passed around. Expose
an AttemptBind mutator for the test instead.

Rename functions so that the names are less similar
to each other and more explicit on the functionality.

Remove multiple BindDriver() function overloads:
 - Remove BindDriver(Driver*, AttemptBind) since
   this is only used in a test.
 - Rename BindDriver(fbl::RefPtr<Device>&, const char*)
   to BindDriverToDevice() since the functionality is
   completely different.

Move namespace definitions in coordinator.cc to the
top

Original-Bug: 89910
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/626209
Original-Revision: 4f91077f46fb02187bf0db26b07c6abab5e6f799
GitOrigin-RevId: a1255053a92e347c9644290265c448a066157c78
Change-Id: If691cef59c03117451bc66f0576fa8e355aeb156
1 file changed
tree: af51508d066ee8971ede886a957e660cd3da0d21
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.