chromium/device/gamepad/gamepad_test_helpers.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "device/gamepad/gamepad_test_helpers.h"

namespace device {

MockGamepadDataFetcher::MockGamepadDataFetcher(const Gamepads& test_data)
    :{}

MockGamepadDataFetcher::~MockGamepadDataFetcher() = default;

GamepadSource MockGamepadDataFetcher::source() {}

void MockGamepadDataFetcher::GetGamepadData(bool devices_changed_hint) {}

void MockGamepadDataFetcher::WaitForDataRead() {}

void MockGamepadDataFetcher::WaitForDataReadAndCallbacksIssued() {}

void MockGamepadDataFetcher::SetTestData(const Gamepads& new_data) {}

GamepadTestHelper::GamepadTestHelper() = default;

GamepadTestHelper::~GamepadTestHelper() = default;

GamepadServiceTestConstructor::GamepadServiceTestConstructor(
    const Gamepads& test_data) {}

GamepadServiceTestConstructor::~GamepadServiceTestConstructor() {}

}  // namespace device