| Index: chrome/browser/plugins/plugin_info_message_filter.cc
|
| diff --git a/chrome/browser/plugins/plugin_info_message_filter.cc b/chrome/browser/plugins/plugin_info_message_filter.cc
|
| index f2260e43fb3c3949d8472ee8f129d5d37e302e48..398398acdb9bffe0522d89998b725cd261bd4861 100644
|
| --- a/chrome/browser/plugins/plugin_info_message_filter.cc
|
| +++ b/chrome/browser/plugins/plugin_info_message_filter.cc
|
| @@ -97,6 +97,9 @@ bool PluginInfoMessageFilter::OnMessageReceived(const IPC::Message& message,
|
| IPC_BEGIN_MESSAGE_MAP_EX(PluginInfoMessageFilter, message, *message_was_ok)
|
| IPC_MESSAGE_HANDLER_DELAY_REPLY(ChromeViewHostMsg_GetPluginInfo,
|
| OnGetPluginInfo)
|
| + IPC_MESSAGE_HANDLER(
|
| + ChromeViewHostMsg_IsPepperPluginRegisteredForMimeType,
|
| + OnIsPepperPluginRegisteredForMimeType)
|
| IPC_MESSAGE_UNHANDLED(return false)
|
| IPC_END_MESSAGE_MAP()
|
| return true;
|
| @@ -164,6 +167,14 @@ void PluginInfoMessageFilter::PluginsLoaded(
|
| Send(reply_msg);
|
| }
|
|
|
| +void PluginInfoMessageFilter::OnIsPepperPluginRegisteredForMimeType(
|
| + const std::string& mime_type,
|
| + bool* is_registered) {
|
| + *is_registered =
|
| + PluginService::GetInstance()->IsPepperPluginRegisteredForMimeType(
|
| + mime_type);
|
| +}
|
| +
|
| void PluginInfoMessageFilter::Context::DecidePluginStatus(
|
| const GetPluginInfo_Params& params,
|
| const WebPluginInfo& plugin,
|
|
|