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

Unified Diff: content/renderer/media/crypto/key_systems.h

Issue 246033002: Store SupportedCodecs in KeySystemInfo and KeySystems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Android build. Created 6 years, 8 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/renderer/media/crypto/key_systems.h
diff --git a/content/renderer/media/crypto/key_systems.h b/content/renderer/media/crypto/key_systems.h
index 66bc441364e24f2da26e34bd063b53df425eaaa8..53dc23a4187cf37cddc8daed3ac4323c55d2ebb0 100644
--- a/content/renderer/media/crypto/key_systems.h
+++ b/content/renderer/media/crypto/key_systems.h
@@ -51,6 +51,12 @@ CONTENT_EXPORT std::string GetPepperType(
const std::string& concrete_key_system);
#endif
+// Helper functions to add extra container/codec masks. This can be used to add
ddorwin 2014/04/22 21:24:41 Is this only for testing? Is the only reason we ne
xhwang 2014/04/23 17:29:14 Done.
+// platform specific container/codec types that needs to be supported, or to add
+// container/codec types for testing purposes.
+CONTENT_EXPORT void AddContainerMask(const std::string& container, uint32 mask);
+CONTENT_EXPORT void AddCodecMask(const std::string& codec, uint32 mask);
+
} // namespace content
#endif // CONTENT_RENDERER_MEDIA_CRYPTO_KEY_SYSTEMS_H_

Powered by Google App Engine
This is Rietveld 408576698