| Index: components/mus/common/gpu_type_converters.h
|
| diff --git a/components/mus/common/gpu_type_converters.h b/components/mus/common/gpu_type_converters.h
|
| index 43346e1ef9578631faa8b52ee888b0a5ddf94b30..74c170c04378f07bae73ec79831da88c61bdccf1 100644
|
| --- a/components/mus/common/gpu_type_converters.h
|
| +++ b/components/mus/common/gpu_type_converters.h
|
| @@ -8,6 +8,7 @@
|
| #include "build/build_config.h"
|
| #include "components/mus/common/mus_common_export.h"
|
| #include "components/mus/public/interfaces/channel_handle.mojom.h"
|
| +#include "components/mus/public/interfaces/gpu.mojom.h"
|
| #include "components/mus/public/interfaces/gpu_memory_buffer.mojom.h"
|
| #include "mojo/public/cpp/bindings/type_converter.h"
|
|
|
| @@ -18,6 +19,10 @@ using GpuMemoryBufferId = GenericSharedMemoryId;
|
| struct NativePixmapHandle;
|
| }
|
|
|
| +namespace gpu {
|
| +struct GPUInfo;
|
| +}
|
| +
|
| namespace IPC {
|
| struct ChannelHandle;
|
| }
|
| @@ -80,6 +85,11 @@ struct MUS_COMMON_EXPORT TypeConverter<gfx::GpuMemoryBufferHandle,
|
| const mus::mojom::GpuMemoryBufferHandlePtr& handle);
|
| };
|
|
|
| +template <>
|
| +struct MUS_COMMON_EXPORT TypeConverter<mus::mojom::GpuInfoPtr, gpu::GPUInfo> {
|
| + static mus::mojom::GpuInfoPtr Convert(const gpu::GPUInfo& input);
|
| +};
|
| +
|
| } // namespace mojo
|
|
|
| #endif // COMPONENTS_MUS_COMMON_GPU_TYPE_CONVERTERS_H_
|
|
|