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

Unified Diff: content/browser/android/media_player_manager_android.cc

Issue 14247018: Implement WebRTC in Chrome for TV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Timestamp adjustment in RTCVideoDecoderBridgeTv Created 7 years, 8 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/android/media_player_manager_android.cc
diff --git a/content/browser/android/media_player_manager_android.cc b/content/browser/android/media_player_manager_android.cc
index c046e59d7124267295a9f96de1b8628461a4eccc..91ad51fa81e2c26cc2ebbbc59de268b06ecf313d 100644
--- a/content/browser/android/media_player_manager_android.cc
+++ b/content/browser/android/media_player_manager_android.cc
@@ -107,8 +107,7 @@ void MediaPlayerManagerAndroid::SetVideoSurface(jobject surface) {
}
void MediaPlayerManagerAndroid::OnInitialize(
- int player_id, const GURL& url,
- bool is_media_source,
+ int player_id, const GURL& url, int flags,
const GURL& first_party_for_cookies) {
for (ScopedVector<MediaPlayerBridge>::iterator it = players_.begin();
it != players_.end(); ++it) {
@@ -124,7 +123,7 @@ void MediaPlayerManagerAndroid::OnInitialize(
fileapi::FileSystemContext* file_system_context =
partition ? partition->GetFileSystemContext() : NULL;
players_.push_back(media::MediaPlayerBridge::Create(
- player_id, url, is_media_source, first_party_for_cookies,
+ player_id, url, flags, first_party_for_cookies,
new MediaResourceGetterImpl(context, file_system_context, host->GetID(),
routing_id()),
context->IsOffTheRecord(), this,

Powered by Google App Engine
This is Rietveld 408576698