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

Unified Diff: media/blink/webmediaplayer_delegate.h

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: media/blink/webmediaplayer_delegate.h
diff --git a/media/blink/webmediaplayer_delegate.h b/media/blink/webmediaplayer_delegate.h
index c70b07f38c6aed1020ee668917f32d06a081f62c..bf5cfd91815a8738d301048b834e0c21c199b361 100644
--- a/media/blink/webmediaplayer_delegate.h
+++ b/media/blink/webmediaplayer_delegate.h
@@ -10,6 +10,8 @@ class WebMediaPlayer;
}
namespace media {
+enum class MediaContentType;
+
// An interface to allow a WebMediaPlayer to communicate changes of state to
// objects that need to know.
class WebMediaPlayerDelegate {
@@ -51,7 +53,7 @@ class WebMediaPlayerDelegate {
bool has_video,
bool has_audio,
bool is_remote,
- base::TimeDelta duration) = 0;
+ media::MediaContentType media_content_type) = 0;
// The specified player stopped playing media. This may be called at any time
// with or without a DidPlay() having previously occurred. Calling this will

Powered by Google App Engine
This is Rietveld 408576698