Revert "First pass at supporting BLE advertisement on macOS."

This reverts commit 28a79156145daedc2b6af6cd13e3f4f28ca67ab5.

Reason for revert: Causes build break
device/bluetooth/ error: comparison of two values with different enumeration types ('CBManagerState' and 'CBPeripheralManagerState') [-Werror,-Wenum-compare]
  if ([peripheral_manager_ state] < CBPeripheralManagerStatePoweredOn) {
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Mac Team Request: Please add a Mac reviewer for this reland. Thanks!

Original change's description:
> First pass at supporting BLE advertisement on macOS.
> This very basic implementation currently only supports one active
> advertisement.
> Future work will add tests and better handle concurrent advertisements.
> BUG=846881
> Change-Id: I48b76e84d67060e7265533759752fcc0e84f5cc6
> Reviewed-on:
> Reviewed-by: Gustavo Sacomoto <>
> Reviewed-by: Giovanni Ortuño Urquidi <>
> Commit-Queue: Tim Song <>
> Cr-Commit-Position: refs/heads/master@{#576712},,

Change-Id: I13eec942b3a76ad5baa6b9dca624c41c5fc29178
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 846881
Reviewed-by: Robert Liao <>
Commit-Queue: Robert Liao <>
Cr-Commit-Position: refs/heads/master@{#576931}
10 files changed