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

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: rebase only 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 90dab6fbada6a12bd090930999f2de0f5d3206b4..02dc3887baae70bd1bf17f30712a78f2c1fe5222 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
+// (e.g. by checking Content Settings).
+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