Move ozone drm interface registration to VizMainImpl

This CL moves registration of ozone drm mojo interfaces to VizMainImpl,
so everywhere VizMainImpl is created, those interfaces are registered
automatically. Clients would need to ask VizMainImpl to bind requests
for those interfaces.

This is a cleanup for enabling out-of-process viz service in
multi-process mash, however it also fixes an issue in multi-process mash
with in-process viz where drm interfaces are registered on the wrong
thread (crbug/909736).


Change-Id: I4028e023e48c57e5a99e11321ed701435eaf96b3
Commit-Queue: Mohsen Izadi <>
Reviewed-by: Scott Violet <>
Cr-Commit-Position: refs/heads/master@{#625015}
14 files changed