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

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

Issue 253593002: Componentize EncryptedMediaMessageFilter and rename it CdmMessageFilter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed jam's comments. 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/public/renderer/key_system_info.h
diff --git a/content/public/renderer/key_system_info.h b/content/public/renderer/key_system_info.h
index 8eb2e573c4806e7e4fb1284bbe7929155628450c..72d18f138f915f0c4054f8d2402a59129b13300a 100644
--- a/content/public/renderer/key_system_info.h
+++ b/content/public/renderer/key_system_info.h
@@ -35,6 +35,13 @@ namespace content {
struct CONTENT_EXPORT KeySystemInfo {
explicit KeySystemInfo(const std::string& key_system);
~KeySystemInfo();
+ static KeySystemInfo Build(const char* key_system,
ddorwin 2014/04/28 18:47:45 This violates the Content API design: http://www.c
ycheo (away) 2014/04/29 00:49:52 The content api design allows to have constructors
ddorwin 2014/04/29 00:53:12 If you were to put it in a constructor, then we ca
+ bool has_parent,
+ const char* suffix,
+#if defined(ENABLE_PEPPER_CDMS)
Tom Sepez 2014/04/28 18:21:52 nit: maybe just pass this as NULL in the !ENABLE_P
+ const char* pepper_type,
+#endif
+ SupportedCodecs supported_codecs);
std::string key_system;

Powered by Google App Engine
This is Rietveld 408576698