#include "ui/ozone/public/gpu_platform_support_host.h"
#include "base/functional/callback.h"
#include "base/trace_event/trace_event.h"
namespace ui {
namespace {
class StubGpuPlatformSupportHost : public GpuPlatformSupportHost {
public:
void OnChannelDestroyed(int host_id) override {}
void OnGpuServiceLaunched(
int host_id,
GpuHostBindInterfaceCallback binder,
GpuHostTerminateCallback terminate_callback) override {}
};
}
GpuPlatformSupportHost::GpuPlatformSupportHost() = default;
GpuPlatformSupportHost::~GpuPlatformSupportHost() = default;
void GpuPlatformSupportHost::OnHdrEnabledChanged(bool hdr_enabled) {}
GpuPlatformSupportHost* CreateStubGpuPlatformSupportHost() {
return new StubGpuPlatformSupportHost;
}
}