#ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_PRIVATE_API_H_
#define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_PRIVATE_API_H_
#include <optional>
#include "base/functional/callback_forward.h"
#include "base/memory/raw_ptr.h"
#include "device/bluetooth/bluetooth_device.h"
#include "extensions/browser/api/bluetooth/bluetooth_extension_function.h"
#include "extensions/browser/browser_context_keyed_api_factory.h"
#include "extensions/browser/event_router.h"
#include "extensions/common/api/bluetooth_private.h"
namespace device {
class BluetoothAdapter;
}
namespace extensions {
class BluetoothPrivateAPI : public BrowserContextKeyedAPI,
public EventRouter::Observer { … };
namespace api {
namespace bluetooth_private {
namespace SetAdapterState {
struct Params;
}
namespace SetPairingResponse {
struct Params;
}
namespace DisconnectAll {
struct Params;
}
namespace ForgetDevice {
struct Params;
}
namespace SetDiscoveryFilter {
struct Params;
}
namespace Connect {
struct Params;
}
namespace Pair {
struct Params;
}
namespace RecordPairing {
struct Params;
}
namespace RecordReconnection {
struct Params;
}
namespace RecordDeviceSelection {
struct Params;
}
}
class BluetoothPrivateSetAdapterStateFunction
: public BluetoothExtensionFunction { … };
class BluetoothPrivateSetPairingResponseFunction
: public BluetoothExtensionFunction { … };
class BluetoothPrivateDisconnectAllFunction
: public BluetoothExtensionFunction { … };
class BluetoothPrivateForgetDeviceFunction : public BluetoothExtensionFunction { … };
class BluetoothPrivateSetDiscoveryFilterFunction
: public BluetoothExtensionFunction { … };
class BluetoothPrivateConnectFunction : public BluetoothExtensionFunction { … };
class BluetoothPrivatePairFunction : public BluetoothExtensionFunction { … };
class BluetoothPrivateRecordPairingFunction
: public BluetoothExtensionFunction { … };
class BluetoothPrivateRecordReconnectionFunction
: public BluetoothExtensionFunction { … };
class BluetoothPrivateRecordDeviceSelectionFunction
: public BluetoothExtensionFunction { … };
}
}
#endif