#include "device/bluetooth/test/mock_bluetooth_device.h"
#include <memory>
#include <utility>
#include "base/strings/utf_string_conversions.h"
#include "device/bluetooth/bluetooth_remote_gatt_service.h"
namespace device {
Return;
ReturnPointee;
MockBluetoothDevice::MockBluetoothDevice(BluetoothAdapter* adapter,
uint32_t bluetooth_class,
const char* name,
const std::string& address,
bool initially_paired,
bool connected)
: … { … }
MockBluetoothDevice::~MockBluetoothDevice() = default;
void MockBluetoothDevice::AddMockService(
std::unique_ptr<MockBluetoothGattService> mock_service) { … }
std::vector<BluetoothRemoteGattService*> MockBluetoothDevice::GetMockServices()
const { … }
BluetoothRemoteGattService* MockBluetoothDevice::GetMockService(
const std::string& identifier) const { … }
void MockBluetoothDevice::PushPendingCallback(base::OnceClosure callback) { … }
void MockBluetoothDevice::RunPendingCallbacks() { … }
}