#include "extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_connection.h"
#include "base/lazy_instance.h"
namespace extensions {
static base::LazyInstance<BrowserContextKeyedAPIFactory<
ApiResourceManager<BluetoothLowEnergyConnection>>>::DestructorAtExit
g_factory = …;
template <>
BrowserContextKeyedAPIFactory<ApiResourceManager<BluetoothLowEnergyConnection>>*
ApiResourceManager<BluetoothLowEnergyConnection>::GetFactoryInstance() { … }
BluetoothLowEnergyConnection::BluetoothLowEnergyConnection(
bool persistent,
const std::string& owner_extension_id,
std::unique_ptr<device::BluetoothGattConnection> connection)
: … { … }
BluetoothLowEnergyConnection::~BluetoothLowEnergyConnection() = default;
device::BluetoothGattConnection* BluetoothLowEnergyConnection::GetConnection()
const { … }
bool BluetoothLowEnergyConnection::IsPersistent() const { … }
}