AudioOutputDispatcher uses AudioManager::CreateAudioLog to create media::AudioLogs.
Currently, AudioManager is created and owned by content::BrowserMainLoop and actual AudioLogs are created by content::MediaInternals, which currently implements media::AudioLogFactory.
Once AudioManager moves to the audio service, content::MediaInternals() will be remote respect to AudioManager, so it will need to be a media::mojom::AudioLogFactory.
AudioOutputDispatcher will need an AudioLogFactoryAdapter that implements media::AudioLogFactory and wraps the mojo factory (AudioOutputDispatcher cannot use mojo interfaces directly due to layering restrictions).
Comment 1 by olka@chromium.org
, Feb 15 2018