Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Unified Diff: content/browser/media/media_web_contents_observer.cc

Issue 1515623002: Media Session: passing metadata from renderer/ to browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@media_session_ipc
Patch Set: cleanup Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/media/media_web_contents_observer.cc
diff --git a/content/browser/media/media_web_contents_observer.cc b/content/browser/media/media_web_contents_observer.cc
index 42dcf93134843b4f484f4f7ee74ca9106816fe57..dc57ecd1791786bc3e60b10f82dec44269e69a3b 100644
--- a/content/browser/media/media_web_contents_observer.cc
+++ b/content/browser/media/media_web_contents_observer.cc
@@ -304,6 +304,9 @@ bool MediaWebContentsObserver::OnMediaPlayerMessageReceived(
IPC_MESSAGE_FORWARD(MediaSessionHostMsg_Deactivate,
GetMediaSessionManager(render_frame_host),
BrowserMediaSessionManager::OnDeactivate)
+ IPC_MESSAGE_FORWARD(MediaSessionHostMsg_SetMetadata,
+ GetMediaSessionManager(render_frame_host),
+ BrowserMediaSessionManager::OnSetMetadata)
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;

Powered by Google App Engine
This is Rietveld 408576698