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

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: 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..bd5b93b138e90ca6dc220718c5994e469b588604 100644
--- a/chrome/common/render_messages.h
+++ b/chrome/common/render_messages.h
@@ -503,6 +503,13 @@ IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_GetPluginInfo,
std::string /* mime_type */,
ChromeViewHostMsg_GetPluginInfo_Output /* output */)
+// Returns whether any plugin supporting |mime_type| is registered with Chrome.
+// Does not determine whether the plugin could actually be instantiated
+// (i.e. by checking Content Settings).
+IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_IsSupportingPluginAvailable,
scherkus (not reviewing) 2013/09/11 22:34:41 hmm... this name is a bit ambiguous but I'm having
ddorwin 2013/09/16 17:17:58 Good suggestions. WDYT of IsPluginRegisteredForMim
+ std::string /* mime_type */,
scherkus (not reviewing) 2013/09/11 22:34:41 indent is off
ddorwin 2013/09/16 17:17:58 Done.
+ bool /* available */)
+
#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