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

Unified Diff: content/renderer/media/webmediaplayer_proxy_impl_android.cc

Issue 14247018: Implement WebRTC in Chrome for TV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix 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
« no previous file with comments | « content/renderer/media/webmediaplayer_proxy_impl_android.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webmediaplayer_proxy_impl_android.cc
diff --git a/content/renderer/media/webmediaplayer_proxy_impl_android.cc b/content/renderer/media/webmediaplayer_proxy_impl_android.cc
index f6f4e50debe72815235da85db8ddc8287be39fac..46b57e382a73d2736f7ae8cffa9ab51f88a50aa9 100644
--- a/content/renderer/media/webmediaplayer_proxy_impl_android.cc
+++ b/content/renderer/media/webmediaplayer_proxy_impl_android.cc
@@ -52,11 +52,15 @@ bool WebMediaPlayerProxyImplAndroid::OnMessageReceived(
}
void WebMediaPlayerProxyImplAndroid::Initialize(
- int player_id, const GURL& url,
- bool is_media_source,
+ int player_id,
+ const GURL& url,
+ media::MediaPlayerAndroid::SourceType source_type,
const GURL& first_party_for_cookies) {
- Send(new MediaPlayerHostMsg_MediaPlayerInitialize(
- routing_id(), player_id, url, is_media_source, first_party_for_cookies));
+ Send(new MediaPlayerHostMsg_MediaPlayerInitialize(routing_id(),
+ player_id,
+ url,
+ source_type,
+ first_party_for_cookies));
}
void WebMediaPlayerProxyImplAndroid::Start(int player_id) {
@@ -200,7 +204,9 @@ void WebMediaPlayerProxyImplAndroid::DidCommitCompositorFrame() {
#endif
void WebMediaPlayerProxyImplAndroid::OnReadFromDemuxer(
- int player_id, media::DemuxerStream::Type type, bool seek_done) {
+ int player_id,
+ media::DemuxerStream::Type type,
+ bool seek_done) {
webkit_media::WebMediaPlayerAndroid* player = GetWebMediaPlayer(player_id);
if (player)
player->OnReadFromDemuxer(type, seek_done);
« no previous file with comments | « content/renderer/media/webmediaplayer_proxy_impl_android.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698