#include "content/browser/bluetooth/bluetooth_device_scanning_prompt_controller.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "content/browser/bluetooth/web_bluetooth_service_impl.h"
#include "content/public/browser/bluetooth_delegate.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_client.h"
namespace content {
BluetoothDeviceScanningPromptController::
BluetoothDeviceScanningPromptController(
WebBluetoothServiceImpl* web_bluetooth_service,
RenderFrameHost& render_frame_host)
: … { … }
BluetoothDeviceScanningPromptController::
~BluetoothDeviceScanningPromptController() { … }
void BluetoothDeviceScanningPromptController::ShowPermissionPrompt() { … }
void BluetoothDeviceScanningPromptController::OnBluetoothScanningPromptEvent(
BluetoothScanningPrompt::Event event) { … }
void BluetoothDeviceScanningPromptController::AddFilteredDevice(
const std::string& device_id,
bool should_update_name,
const std::u16string& device_name) { … }
}