#include "services/device/public/cpp/test/mock_hid_service.h"
#include <map>
#include "base/containers/span.h"
#include "base/memory/ref_counted_memory.h"
#include "services/device/public/cpp/test/mock_hid_connection.h"
namespace device {
MockHidService::MockHidService() { … }
MockHidService::~MockHidService() = default;
base::WeakPtr<HidService> MockHidService::GetWeakPtr() { … }
void MockHidService::AddDevice(scoped_refptr<HidDeviceInfo> info) { … }
void MockHidService::RemoveDevice(
const HidPlatformDeviceId& platform_device_id) { … }
void MockHidService::FirstEnumerationComplete() { … }
void MockHidService::Connect(const std::string& device_id,
bool allow_protected_reports,
bool allow_fido_reports,
ConnectCallback callback) { … }
const std::map<std::string, scoped_refptr<HidDeviceInfo>>&
MockHidService::devices() const { … }
}