#ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_H_
#define EXTENSIONS_BROWSER_API_BLUETOOTH_BLUETOOTH_API_H_
#include <memory>
#include <string>
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.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/browser/extension_function.h"
#include "extensions/common/api/bluetooth.h"
namespace content {
class BrowserContext;
}
namespace device {
class BluetoothAdapter;
}
namespace extensions {
class BluetoothEventRouter;
class BluetoothAPI : public BrowserContextKeyedAPI,
public EventRouter::Observer { … };
template <>
void BrowserContextKeyedAPIFactory<BluetoothAPI>::DeclareFactoryDependencies();
namespace api {
class BluetoothGetAdapterStateFunction : public BluetoothExtensionFunction { … };
class BluetoothGetDevicesFunction : public BluetoothExtensionFunction { … };
class BluetoothGetDeviceFunction : public BluetoothExtensionFunction { … };
class BluetoothStartDiscoveryFunction : public BluetoothExtensionFunction { … };
class BluetoothStopDiscoveryFunction : public BluetoothExtensionFunction { … };
}
}
#endif