| Index: ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h
|
| diff --git a/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h b/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h
|
| index 2cc4a176f43b43070190032033f8a8e1fe196a5e..8694db34a5bdffacb0ed55c17ec25e1b62c8b872 100644
|
| --- a/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h
|
| +++ b/ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h
|
| @@ -36,10 +36,11 @@ class DrmGpuPlatformSupportHost : public GpuPlatformSupportHost,
|
| ~DrmGpuPlatformSupportHost() override;
|
|
|
| // GpuPlatformSupportHost:
|
| - void OnChannelEstablished(
|
| + void OnGpuProcessLaunched(
|
| int host_id,
|
| scoped_refptr<base::SingleThreadTaskRunner> send_runner,
|
| const base::Callback<void(IPC::Message*)>& send_callback) override;
|
| + void OnChannelEstablished() override;
|
| void OnChannelDestroyed(int host_id) override;
|
|
|
| // IPC::Listener:
|
| @@ -109,7 +110,10 @@ class DrmGpuPlatformSupportHost : public GpuPlatformSupportHost,
|
| void OnOverlayResult(gfx::AcceleratedWidget widget,
|
| const std::vector<OverlayCheck_Params>& params);
|
|
|
| + bool SendInternal(IPC::Message* message, bool needChannelEstablished);
|
| +
|
| int host_id_ = -1;
|
| + bool channel_established_ = false;
|
|
|
| scoped_refptr<base::SingleThreadTaskRunner> send_runner_;
|
| base::Callback<void(IPC::Message*)> send_callback_;
|
|
|