chromium/ui/gfx/linux/test/mock_gbm_device.h

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

#ifndef UI_GFX_LINUX_TEST_MOCK_GBM_DEVICE_H_
#define UI_GFX_LINUX_TEST_MOCK_GBM_DEVICE_H_

#include <drm_fourcc.h>
#include <vector>
#include "ui/gfx/linux/gbm_device.h"

namespace ui {

// The real DrmDevice makes actual DRM calls which we can't use in unit tests.
class MockGbmDevice : public GbmDevice {};

}  // namespace ui

#endif  // UI_GFX_LINUX_TEST_MOCK_GBM_DEVICE_H_