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

Unified Diff: media/base/android/media_source_player.h

Issue 23517002: MediaSourcePlayer implements IsTypeSupported(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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_source_player.h
diff --git a/media/base/android/media_source_player.h b/media/base/android/media_source_player.h
index fd0fafbb1fad5af1faf47a9e86a3755aec882bf2..94b8db12cd28f5aa966617a66cf87d1475d8c123 100644
--- a/media/base/android/media_source_player.h
+++ b/media/base/android/media_source_player.h
@@ -41,6 +41,11 @@ class MEDIA_EXPORT MediaSourcePlayer : public MediaPlayerAndroid {
MediaSourcePlayer(int player_id, MediaPlayerManager* manager);
virtual ~MediaSourcePlayer();
+ static bool CanPlayType(const std::vector<uint8>& scheme_uuid,
ddorwin 2013/08/27 18:14:19 Use IsTypeSupported, since it is the permanent nam
xhwang 2013/08/28 01:21:24 Done.
+ const std::string& security_level,
ddorwin 2013/08/27 18:14:19 should we just call this "properties" to support o
xhwang 2013/08/28 01:21:24 Yeah, added a TODO for the possible future refacto
ddorwin 2013/08/28 02:28:50 I'd just drop the TODO since we don't plan to addr
xhwang 2013/08/28 18:19:15 Done.
+ const std::string& container,
+ const std::vector<std::string>& codecs);
+
// MediaPlayerAndroid implementation.
virtual void SetVideoSurface(gfx::ScopedJavaSurface surface) OVERRIDE;
virtual void Start() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698