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

Unified Diff: chrome/common/render_messages.h

Issue 23828007: Check whether the Pepper CDM is available before adding the key system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Changed to check for Pepper plugins only and not use PluginList; added tests Created 7 years, 3 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: chrome/common/render_messages.h
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h
index bf9b30f0b8ab81ad78b66bd34c61d576e90d9f2d..e72c33f06c57f64d9684f21e425b5b1f04f0afd4 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -503,6 +503,14 @@ IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_GetPluginInfo,
std::string /* mime_type */,
ChromeViewHostMsg_GetPluginInfo_Output /* output */)
+// Returns whether any Pepper plugin supporting |mime_type| is registered
+// Does not determine whether the plugin could actually be instantiated
+// (i.e. by checking Content Settings).
scherkus (not reviewing) 2013/09/16 17:42:05 ditto on grammar (see my other comment)
ddorwin 2013/09/16 18:28:58 Done.
+IPC_SYNC_MESSAGE_CONTROL1_1(
+ ChromeViewHostMsg_IsPepperPluginRegisteredForMimeType,
+ std::string /* mime_type */,
+ bool /* registered */)
+
#if defined(ENABLE_PLUGIN_INSTALLATION)
// Tells the browser to search for a plug-in that can handle the given MIME
// type. The result will be sent asynchronously to the routing ID

Powered by Google App Engine
This is Rietveld 408576698