Devtools Media Inspecting:

Add protocol and backend support for reporting players, events, and properties as a
replacement for chrome://media-internals.

doc: https://docs.google.com/document/d/1NMTjKc-Q99UDTS0QFoftVwhmzZTEh0fsHGQJ6I82IRY/edit

This design allows sending
properties & events from browser -> inspector
and [enable, disable] commands from inspector -> browser.

In a followup CL, A new InspectorMediaLog will be created, which will
forward events to the MediaInspectorContextImpl.

MediaInspectorContext is the storage object attached to the frame where
events / properties / players are saved. This allows the inspector
to check the status of players that were destroyed before the inspector
may have ever been open.


Bug: 794255
Change-Id: Ic84d5297f24969d944d0be1486566832e669d2c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1661118
Commit-Queue: Ted Meyer <tmathmeyer@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Andrey Kosyakov <caseq@chromium.org>
Cr-Commit-Position: refs/heads/master@{#684552}
14 files changed