#include "services/device/public/cpp/test/mock_hid_connection.h"
#include "base/containers/span.h"
#include "base/memory/ref_counted_memory.h"
#include "services/device/hid/hid_device_info.h"
namespace device {
MockHidConnection::MockHidConnection(scoped_refptr<HidDeviceInfo> device)
: … { … }
MockHidConnection::~MockHidConnection() { … }
void MockHidConnection::PlatformClose() { … }
void MockHidConnection::PlatformWrite(
scoped_refptr<base::RefCountedBytes> buffer,
WriteCallback callback) { … }
void MockHidConnection::PlatformGetFeatureReport(uint8_t report_id,
ReadCallback callback) { … }
void MockHidConnection::PlatformSendFeatureReport(
scoped_refptr<base::RefCountedBytes> buffer,
WriteCallback callback) { … }
void MockHidConnection::MockInputReport(
scoped_refptr<base::RefCountedBytes> buffer) { … }
}