Descriptionmedia: Add Rappor reporting in MediaLog
Today in media/ we can report rappor using MediaClient. However, this
requires the caller to know about the URL to report. This works at
high levels (e.g. WebMediaPlayer*), but doesn't work well at lower
levels, e.g. demuxers, decoders, where URL knowledge is not passed down.
On the other hand, MediaLog has been passed around in media code in a
lot of places. This CL addes rappor reporting to MediaLog so that we can
easily repport rappor in a lot of places.
In the future we may want to rename MediaLog to MediaMetrics.
BUG=499949
TEST=Tested the new metric added.
Committed: https://crrev.com/2178f439e04043d88cef11310e7fd45d26095fa6
Cr-Commit-Position: refs/heads/master@{#400302}
Patch Set 1 #Patch Set 2 : more fixes #Patch Set 3 : more fixes #
Total comments: 7
Patch Set 4 : fix test #
Messages
Total messages: 30 (13 generated)
|