| commit | 865804a6dcb423e35f5bd1e9f2611eb9e940a43d | [log] [tgz] |
|---|---|---|
| author | Reilly Grant <reillyg@chromium.org> | Tue Apr 21 18:13:18 2020 |
| committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 21 18:13:18 2020 |
| tree | e25072a8561e55344e9e2a69641ec56a3532a0f9 | |
| parent | 7429bb6a79fbb1250020919bc46fa772861f42fd [diff] |
[bluetooth] Refactor BluetoothAdapterFactory interface This change is preparing for a refactor of the BluetoothAdapterFactory internals. Those changes will move the factory state out of globals and into the singleton instance of BluetoothAdapterFactory. As a result it is easier to make methods like GetAdapter() non-static but this requires updating all callers. The return value of BluetoothAdapterFactory::Get() is changed from a reference to a pointer because the style guide recommends pointers for non-constant values. Bug: 1030549 Change-Id: Ie6da74fa5d17c586cbbd306f5a1e444b9d39260e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2155465 Commit-Queue: Reilly Grant <reillyg@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Avi Drissman <avi@chromium.org> Reviewed-by: Ovidio de Jesús Ruiz-Henríquez <odejesush@chromium.org> Cr-Commit-Position: refs/heads/master@{#761047}
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 .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.