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

Unified Diff: media/base/media_client.h

Issue 2783963002: Add IsSupportedAudioConfig in MediaClient (Closed)
Patch Set: Update MediaCanPlayTypeTest Created 3 years, 9 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/media_client.h
diff --git a/media/base/media_client.h b/media/base/media_client.h
index e5beb94ef94d2d5c747e5749fe12c690f7adcbae..3b0a35ea4041a1a45fdeafe41fc8b47fa2affa33 100644
--- a/media/base/media_client.h
+++ b/media/base/media_client.h
@@ -69,6 +69,9 @@ class MEDIA_EXPORT MediaClient {
// metric. See: https://www.chromium.org/developers/design-documents/rappor
virtual void RecordRapporURL(const std::string& metric, const GURL& url) = 0;
+ // Returns true if the given audio config is supported.
+ virtual bool IsSupportedAudioConfig(const AudioConfig& config) = 0;
+
// Returns true if the given combination of video codec, profile and level is
// supported. The |level| value is codec-specific.
virtual bool IsSupportedVideoConfig(const VideoConfig& config) = 0;

Powered by Google App Engine
This is Rietveld 408576698