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

Unified Diff: chromecast/media/base/media_codec_support.h

Issue 1257013003: Load CMA backend from shared library (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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: chromecast/media/base/media_codec_support.h
diff --git a/chromecast/media/base/media_codec_support.h b/chromecast/media/base/media_codec_support.h
index e961177ecb0c735308bc6af2cca3e960ec31ff36..f97df1b5e9778c14f8fdbcc6a412efcd09346f04 100644
--- a/chromecast/media/base/media_codec_support.h
+++ b/chromecast/media/base/media_codec_support.h
@@ -11,24 +11,18 @@
#include "net/base/mime_util.h"
// TODO(gunsch/servolk): remove when this definition exists upstream.
-
namespace net {
typedef base::Callback<bool(const std::string&)> IsCodecSupportedCB;
-bool DefaultIsCodecSupported(const std::string&);
}
namespace chromecast {
namespace media {
-// This function should return a callback capable of deciding whether a given
-// codec (passed in as a string representation of the codec id conforming to
-// RFC 6381) is supported or not. The implementation of this function is
-// expected to be provided somewhere in the vendor platform-specific libraries
-// that will get linked with cast_shell_common target.
+// Returns the callback to decide whether a given codec (passed in as a string
+// representation of the codec id conforming to RFC 6381) is supported or not.
net::IsCodecSupportedCB GetIsCodecSupportedOnChromecastCB();
} // namespace media
} // namespace chromecast
#endif // CHROMECAST_MEDIA_BASE_MEDIA_CODEC_SUPPORT_H_
-

Powered by Google App Engine
This is Rietveld 408576698