// Copyright 2017 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.h" #include "base/functional/bind.h" #include "base/run_loop.h" #include "base/test/task_environment.h" #include "services/device/public/mojom/hid.mojom.h" #include "testing/gtest/include/gtest/gtest.h" namespace device { namespace { class HidServiceTest : public ::testing::Test { … }; void OnGetDevices(base::OnceClosure quit_closure, std::vector<mojom::HidDeviceInfoPtr> devices) { … } } // namespace TEST_F(HidServiceTest, GetDevices) { … } } // namespace device