chrome.webrtcLoggingPrivate and chrome.webrtcAudioPrivate are implemented in //chrome. To provide their functionality to other clients, they should be moved to //extensions to the extent that their Chrome dependencies can be removed/modified.
Specifically, these APIs need to be used from AppShell (go/app-shell-linux).
This work may involve a large number of files in chrome/browser/media/webrtc, but at first glance the existing dependencies on //chrome don't seem too bad.
For additional motivation and context, see internal discussion starting at b/33415667#comment42.
Comment 1 by grunell@chromium.org
, Sep 29 2017