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

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

Issue 1996043002: Split MediaContentType and AudioFocusType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed desktop build & tests Created 4 years, 5 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.cc
diff --git a/content/browser/media/android/media_web_contents_observer_android.cc b/content/browser/media/android/media_web_contents_observer_android.cc
index 39125635741638f9e614025bd7f03f2d00607c50..416ba5b0d90ba8154799d5575dc1b4eb926e812f 100644
--- a/content/browser/media/android/media_web_contents_observer_android.cc
+++ b/content/browser/media/android/media_web_contents_observer_android.cc
@@ -98,10 +98,10 @@ bool MediaWebContentsObserverAndroid::RequestPlay(
int delegate_id,
bool has_audio,
bool is_remote,
- base::TimeDelta duration) {
+ media::MediaContentType media_content_type) {
return session_controllers_manager()->RequestPlay(
MediaPlayerId(render_frame_host, delegate_id),
- has_audio, is_remote, duration);
+ has_audio, is_remote, media_content_type);
}
void MediaWebContentsObserverAndroid::DisconnectMediaSession(

Powered by Google App Engine
This is Rietveld 408576698