commit | 8046219bb526178754eb2aa1a8669e71d663c9df | [log] [tgz] |
---|---|---|
author | Ben Lawson <benlawson@google.com> | Tue May 05 01:26:03 2020 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue May 05 01:26:03 2020 +0000 |
tree | 977bda097775be2a4e22bf5b5382eeed2dc28371 | |
parent | cea26d7ee14083151eb72824f14c13d17cfdedf3 [diff] |
[bt][l2cap] Remove dispatcher argument from data::Domain::AddACLConnection Since the GAP and L2CAP layers run on the same thread and use the same dispatcher, it is no longer necessary to pass a dispatcher argument to data::Domain methods because callbacks can safely be called or posted using the dispatcher already passed to L2CAP on initialization. Remove dispatcher argument from data::Domain::AddACLConnection and ChannelManager::RegisterACL. Remove dispatcher argument from LogicalLink::set_error_callback and LogicalLink::set_security_upgrade_callback and call those callbacks synchronously. Bug: 50565 Test: pure refactor, run bt-host-unittests Change-Id: I34be72adc0878afceee4b3623d0e81fe5d3e15e8 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/383853 Commit-Queue: Ben Lawson <benlawson@google.com> Reviewed-by: Nick Pollard <nickpollard@google.com> Testability-Review: Nick Pollard <nickpollard@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See fuchsia.dev.