blob: c7f34c201882c454fb50f358cb3c21ca56248bf7 [file]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/device/hid/hid_service_fuchsia.h"
#include "base/notreached.h"
#include "services/device/hid/hid_connection.h"
namespace device {
HidServiceFuchsia::HidServiceFuchsia() = default;
HidServiceFuchsia::~HidServiceFuchsia() = default;
void HidServiceFuchsia::Connect(const std::string& device_id,
bool allow_protected_reports,
bool allow_fido_reports,
ConnectCallback callback) {
// TODO(https://crbug.com/1311019): Implement this.
NOTIMPLEMENTED_LOG_ONCE();
std::move(callback).Run(nullptr);
}
base::WeakPtr<HidService> HidServiceFuchsia::GetWeakPtr() {
return weak_factory_.GetWeakPtr();
}
} // namespace device