chromium/chrome/browser/hid/hid_test_utils.h

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_HID_HID_TEST_UTILS_H_
#define CHROME_BROWSER_HID_HID_TEST_UTILS_H_

#include "chrome/browser/device_notifications/device_test_utils.h"
#include "chrome/browser/hid/hid_connection_tracker.h"
#include "chrome/browser/hid/hid_system_tray_icon.h"

// This is a fake HidConnectionTracker for testing.
// Test code can use `mock_device_connection_tracker()` to test method calls to
// `DeviceConnectionTracker`.
class TestHidConnectionTracker : public HidConnectionTracker {};

// This is a fake HidSystemTrayIcon for testing.
// Test code can use `mock_device_system_tray_icon()` to test method calls to
// `DeviceSystemTrayIcon`.
class TestHidSystemTrayIcon : public HidSystemTrayIcon {};

#endif  // CHROME_BROWSER_HID_HID_TEST_UTILS_H_