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

Unified Diff: webkit/media/android/webmediaplayer_proxy_android.h

Issue 14247018: Implement WebRTC in Chrome for TV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bugs Created 7 years, 7 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: webkit/media/android/webmediaplayer_proxy_android.h
diff --git a/webkit/media/android/webmediaplayer_proxy_android.h b/webkit/media/android/webmediaplayer_proxy_android.h
index fd68410df9453e58ea6d0c1f533a8d0627acbdf5..4a988a8e4da27ecefbe707a1aa1984e4432a31d9 100644
--- a/webkit/media/android/webmediaplayer_proxy_android.h
+++ b/webkit/media/android/webmediaplayer_proxy_android.h
@@ -9,6 +9,7 @@
#include "base/time.h"
#include "googleurl/src/gurl.h"
+#include "media/base/android/media_player_bridge.h"
#if defined(GOOGLE_TV)
#include "media/base/android/demuxer_stream_player_params.h"
#endif
@@ -16,17 +17,19 @@
namespace webkit_media {
// An interface to facilitate the IPC between the browser side
-// android::MediaPlayer and the WebMediaPlayerImplAndroid in the renderer
+// android::MediaPlayer and the WebMediaPlayerAndroid in the renderer
// process.
// Implementation is provided by content::WebMediaPlayerProxyImplAndroid.
class WebMediaPlayerProxyAndroid {
public:
virtual ~WebMediaPlayerProxyAndroid();
- // Initialize a MediaPlayerAndroid object in browser process
- virtual void Initialize(int player_id, const GURL& url,
- bool is_media_source,
- const GURL& first_party_for_cookies) = 0;
+ // Initialize a MediaPlayerBridge object in browser process
+ virtual void Initialize(
+ int player_id,
+ const GURL& url,
+ media::MediaPlayerAndroid::SourceType media_source_type,
+ const GURL& first_party_for_cookies) = 0;
// Start the player.
virtual void Start(int player_id) = 0;

Powered by Google App Engine
This is Rietveld 408576698