diff options
author | ddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-17 22:32:51 +0000 |
---|---|---|
committer | ddorwin@chromium.org <ddorwin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-17 22:32:51 +0000 |
commit | 3627aa3fa39aef7cbcc3dfd67b51e8fb9efa68c5 (patch) | |
tree | 603a8c2df1e3cb8da3c8db86d8670fa5e6f9fcad /chrome/common/render_messages.h | |
parent | 2a29c58de9e4a1ac9dfe41024b30bae28db22c45 (diff) | |
download | chromium_src-3627aa3fa39aef7cbcc3dfd67b51e8fb9efa68c5.zip chromium_src-3627aa3fa39aef7cbcc3dfd67b51e8fb9efa68c5.tar.gz chromium_src-3627aa3fa39aef7cbcc3dfd67b51e8fb9efa68c5.tar.bz2 |
Check whether the Pepper CDM is available before adding the key system.
This adds a synchronous IPC from chrome_key_systems.cc to the browser process to
check with the PluginService.
BUG=224793
TEST=existing IsTypeSupported browser tests and new negative tests
Review URL: https://chromiumcodereview.appspot.com/23828007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223719 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r-- | chrome/common/render_messages.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 90dab6f..f5d997d 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 internal plugin supporting |mime_type| is registered +// Does not determine whether the plugin can actually be instantiated +// (e.g. whether it is allowed or has all its dependencies). +IPC_SYNC_MESSAGE_CONTROL1_1( + ChromeViewHostMsg_IsInternalPluginRegisteredForMimeType, + 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 |