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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 2914273004: Add IsSupportedBitstreamAudioCodec() function in MediaClient. (Closed)
Patch Set: Fix one typo Created 3 years, 6 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/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 7a3ecf54b37c65d6144fa4d8c9356a8ea3046b14..3cfb080801899eead43a67572ba0cd296cbe7053 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -275,6 +275,9 @@ class CONTENT_EXPORT ContentRendererClient {
// Allows embedder to describe customized video capabilities.
virtual bool IsSupportedVideoConfig(const media::VideoConfig& config);
+ // Return true if the bitstream format |codec| is supported by the audio sink.
+ virtual bool IsSupportedBitstreamAudioCodec(media::AudioCodec codec);
+
// Returns true if we should report a detailed message (including a stack
// trace) for console [logs|errors|exceptions]. |source| is the WebKit-
// reported source for the error; this can point to a page or a script,
« no previous file with comments | « chromecast/renderer/cast_content_renderer_client.cc ('k') | content/public/renderer/content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698