Refactoring media notification
Some refactoring in the media notification.
Media notification will no longer updates itself. When after a control
message is received, it only sends command to the underlying
MediaSession. Then when MediaSession has changed its state, it will tell
the media notification to update accordingly.
Besides, a lot of redundant code has been cleaned up.
BUG=
546981
Committed:
https://crrev.com/134cb4ede9e4d62fe675424eb5827767e2165963
Cr-Commit-Position: refs/heads/master@{#364364}