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

Unified Diff: content/public/common/content_client.h

Issue 1637083002: Add CdmService to keep track of CDMs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/common/content_client.h
diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h
index 9d51d5ba83d4cf5a458f84137d963d39063c7c40..bb68cd876a406104a55e2f1736d6cde3e16a9109 100644
--- a/content/public/common/content_client.h
+++ b/content/public/common/content_client.h
@@ -45,6 +45,7 @@ class ContentClient;
class ContentPluginClient;
class ContentRendererClient;
class ContentUtilityClient;
+struct KeySystemRegistration;
struct PepperPluginInfo;
// Setter and getter for the client. The client should be set early, before any
@@ -86,6 +87,10 @@ class CONTENT_EXPORT ContentClient {
virtual void AddPepperPlugins(
std::vector<content::PepperPluginInfo>* plugins) {}
+ // Gives the embedder a chance to register the key system(s) it supports.
+ virtual void AddKeySystems(
ddorwin 2016/01/26 20:21:53 Can we remove the ContentRendererClient method? Wh
xhwang 2016/01/29 07:43:06 There's no plan to change how the key system info
+ std::vector<content::KeySystemRegistration>* key_systems) {}
xhwang 2016/01/29 07:43:06 As chatted offline, on Linux we'll actually need t
jrummell 2016/03/04 01:19:40 I looked at zygote_main_linux.cc, and actually upd
+
// Gives the embedder a chance to register its own standard and saveable
// url schemes early on in the startup sequence.
virtual void AddAdditionalSchemes(

Powered by Google App Engine
This is Rietveld 408576698