| Index: chrome/browser/guest_view/web_view/plugin_permission_helper.cc
|
| diff --git a/chrome/browser/guest_view/web_view/plugin_permission_helper.cc b/chrome/browser/guest_view/web_view/plugin_permission_helper.cc
|
| index 12bcc7d511a971448181e753426f350bf56ae000..1ff179e1cb5ee1afafc1b93d7fba90745258fba2 100644
|
| --- a/chrome/browser/guest_view/web_view/plugin_permission_helper.cc
|
| +++ b/chrome/browser/guest_view/web_view/plugin_permission_helper.cc
|
| @@ -26,16 +26,26 @@ PluginPermissionHelper::PluginPermissionHelper(WebContents* contents)
|
| PluginPermissionHelper::~PluginPermissionHelper() {
|
| }
|
|
|
| -bool PluginPermissionHelper::OnMessageReceived(const IPC::Message& message) {
|
| +bool PluginPermissionHelper::OnMessageReceived(
|
| + const IPC::Message& message,
|
| + content::RenderFrameHost* render_frame_host) {
|
| IPC_BEGIN_MESSAGE_MAP(PluginPermissionHelper, message)
|
| - IPC_MESSAGE_HANDLER(ChromeViewHostMsg_BlockedUnauthorizedPlugin,
|
| - OnBlockedUnauthorizedPlugin)
|
| - IPC_MESSAGE_HANDLER(ChromeViewHostMsg_CouldNotLoadPlugin,
|
| - OnCouldNotLoadPlugin)
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_BlockedOutdatedPlugin,
|
| OnBlockedOutdatedPlugin)
|
| + IPC_MESSAGE_HANDLER(ChromeViewHostMsg_BlockedUnauthorizedPlugin,
|
| + OnBlockedUnauthorizedPlugin)
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_NPAPINotSupported,
|
| OnNPAPINotSupported)
|
| + IPC_MESSAGE_UNHANDLED(return false)
|
| + IPC_END_MESSAGE_MAP()
|
| +
|
| + return true;
|
| +}
|
| +
|
| +bool PluginPermissionHelper::OnMessageReceived(const IPC::Message& message) {
|
| + IPC_BEGIN_MESSAGE_MAP(PluginPermissionHelper, message)
|
| + IPC_MESSAGE_HANDLER(ChromeViewHostMsg_CouldNotLoadPlugin,
|
| + OnCouldNotLoadPlugin)
|
| IPC_MESSAGE_HANDLER(ChromeViewHostMsg_OpenAboutPlugins,
|
| OnOpenAboutPlugins)
|
| #if defined(ENABLE_PLUGIN_INSTALLATION)
|
|
|