#include "content/browser/bluetooth/advertisement_client.h"
#include <utility>
#include <vector>
#include "content/browser/bluetooth/bluetooth_blocklist.h"
#include "content/browser/bluetooth/bluetooth_metrics.h"
namespace content {
namespace {
BluetoothUUID;
}
WebBluetoothServiceImpl::AdvertisementClient::AdvertisementClient(
WebBluetoothServiceImpl* service,
mojo::PendingAssociatedRemote<blink::mojom::WebBluetoothAdvertisementClient>
client_remote,
RequestCallback callback)
: … { … }
WebBluetoothServiceImpl::AdvertisementClient::~AdvertisementClient() { … }
WebBluetoothServiceImpl::WatchAdvertisementsClient::WatchAdvertisementsClient(
WebBluetoothServiceImpl* service,
mojo::PendingAssociatedRemote<blink::mojom::WebBluetoothAdvertisementClient>
client_remote,
blink::WebBluetoothDeviceId device_id,
RequestCallback callback)
: … { … }
WebBluetoothServiceImpl::WatchAdvertisementsClient::
~WatchAdvertisementsClient() = default;
void WebBluetoothServiceImpl::WatchAdvertisementsClient::SendEvent(
const blink::mojom::WebBluetoothAdvertisingEvent& event) { … }
WebBluetoothServiceImpl::ScanningClient::ScanningClient(
WebBluetoothServiceImpl* service,
mojo::PendingAssociatedRemote<blink::mojom::WebBluetoothAdvertisementClient>
client_remote,
blink::mojom::WebBluetoothRequestLEScanOptionsPtr options,
RequestCallback callback)
: … { … }
WebBluetoothServiceImpl::ScanningClient::~ScanningClient() = default;
void WebBluetoothServiceImpl::ScanningClient::SendEvent(
const blink::mojom::WebBluetoothAdvertisingEvent& event) { … }
}