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

Unified Diff: content/browser/media/android/media_web_contents_observer_android.h

Issue 2015433003: Implement MediaMetadata artwork in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed lint issues Created 4 years, 6 months 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/android/media_web_contents_observer_android.h
diff --git a/content/browser/media/android/media_web_contents_observer_android.h b/content/browser/media/android/media_web_contents_observer_android.h
index 0f3a2a9bd1442e374e6a77ade2bd86eabf2ae0f9..7ab11fb2da61d2e0d2d897db5e54deaebf442bd4 100644
--- a/content/browser/media/android/media_web_contents_observer_android.h
+++ b/content/browser/media/android/media_web_contents_observer_android.h
@@ -42,6 +42,11 @@ class CONTENT_EXPORT MediaWebContentsObserverAndroid
BrowserSurfaceViewManager* GetSurfaceViewManager(
RenderFrameHost* render_frame_host);
+ // Sets or overrides the BrowserMediaSessionManager for the given
+ // |render_frame_host|.
+ void SetMediaSessionManagerForTest(
+ RenderFrameHost* render_frame_host, BrowserMediaSessionManager* manager);
+
// Called by the WebContents when a tab has been closed but may still be
// available for "undo" -- indicates that all media players (even audio only
// players typically allowed background audio) bound to this WebContents must

Powered by Google App Engine
This is Rietveld 408576698