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

Unified Diff: media/base/android/media_player_bridge.cc

Issue 14247018: Implement WebRTC in Chrome for TV (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: refactored according to Ami's suggestion 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: media/base/android/media_player_bridge.cc
diff --git a/media/base/android/media_player_bridge.cc b/media/base/android/media_player_bridge.cc
index 3a4522542ea555801e4b88ae0df543c9e8de99e4..ebcf9899430290fedd3f424330a3cf8f32b58fda 100644
--- a/media/base/android/media_player_bridge.cc
+++ b/media/base/android/media_player_bridge.cc
@@ -34,7 +34,7 @@ namespace media {
MediaPlayerAndroid* MediaPlayerAndroid::Create(
int player_id,
const GURL& url,
- bool is_media_source,
+ MediaSource media_source,
const GURL& first_party_for_cookies,
bool hide_url_log,
MediaPlayerManager* manager,
@@ -46,7 +46,8 @@ MediaPlayerAndroid* MediaPlayerAndroid::Create(
const SeekCompleteCB& seek_complete_cb,
const TimeUpdateCB& time_update_cb,
const MediaInterruptedCB& media_interrupted_cb) {
- LOG_IF(WARNING, is_media_source) << "MSE is not supported";
+ DCHECK_EQ(media_source, MEDIA_SOURCE_URL)
+ << "Media source other than URL is not supported.";
return new MediaPlayerBridge(
player_id,
url,

Powered by Google App Engine
This is Rietveld 408576698