Commit e41f613a authored by Dave Tapuska's avatar Dave Tapuska Committed by Commit Bot

Remove unused IPC message definitions for PPAPI broker

The PPAPI broker code was removed in http://crrev.com/1d71c85
but it left the IPC message definitions around. Remove them.

BUG=1064652

Change-Id: I5336c64a53736ef28749a7570f267eaf490f620d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2485543Reviewed-by: default avatarBill Budge <bbudge@chromium.org>
Reviewed-by: default avatarKen Buchanan <kenrb@chromium.org>
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Cr-Commit-Position: refs/heads/master@{#819052}
parent b8744654
...@@ -534,15 +534,6 @@ IPC_MESSAGE_CONTROL3(FrameHostMsg_DidDeleteOutOfProcessPepperInstance, ...@@ -534,15 +534,6 @@ IPC_MESSAGE_CONTROL3(FrameHostMsg_DidDeleteOutOfProcessPepperInstance,
int32_t /* pp_instance */, int32_t /* pp_instance */,
bool /* is_external */) bool /* is_external */)
// A renderer sends this to the browser process when it wants to
// create a ppapi broker. The browser will create the broker process
// if necessary, and will return a handle to the channel on success.
// On error an empty string is returned.
// The browser will respond with ViewMsg_PpapiBrokerChannelCreated.
IPC_MESSAGE_CONTROL2(FrameHostMsg_OpenChannelToPpapiBroker,
int /* routing_id */,
base::FilePath /* path */)
// A renderer sends this to the browser process when it throttles or unthrottles // A renderer sends this to the browser process when it throttles or unthrottles
// a plugin instance for the Plugin Power Saver feature. // a plugin instance for the Plugin Power Saver feature.
IPC_MESSAGE_CONTROL3(FrameHostMsg_PluginInstanceThrottleStateChange, IPC_MESSAGE_CONTROL3(FrameHostMsg_PluginInstanceThrottleStateChange,
......
...@@ -97,20 +97,6 @@ IPC_STRUCT_TRAITS_END() ...@@ -97,20 +97,6 @@ IPC_STRUCT_TRAITS_END()
// started. // started.
IPC_MESSAGE_ROUTED0(ViewMsg_MoveOrResizeStarted) IPC_MESSAGE_ROUTED0(ViewMsg_MoveOrResizeStarted)
#if BUILDFLAG(ENABLE_PLUGINS)
// Reply to ViewHostMsg_OpenChannelToPpapiBroker
// Tells the renderer that the channel to the broker has been created.
IPC_MESSAGE_ROUTED2(ViewMsg_PpapiBrokerChannelCreated,
base::ProcessId /* broker_pid */,
IPC::ChannelHandle /* handle */)
// Reply to ViewHostMsg_RequestPpapiBrokerPermission.
// Tells the renderer whether permission to access to PPAPI broker was granted
// or not.
IPC_MESSAGE_ROUTED1(ViewMsg_PpapiBrokerPermissionResult,
bool /* result */)
#endif
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// Messages sent from the renderer to the browser. // Messages sent from the renderer to the browser.
...@@ -122,17 +108,6 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowWidget, ...@@ -122,17 +108,6 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowWidget,
int /* route_id */, int /* route_id */,
gfx::Rect /* initial_rect */) gfx::Rect /* initial_rect */)
#if BUILDFLAG(ENABLE_PLUGINS)
// A renderer sends this to the browser process when it wants to access a PPAPI
// broker. In contrast to FrameHostMsg_OpenChannelToPpapiBroker, this is called
// for every connection.
// The browser will respond with ViewMsg_PpapiBrokerPermissionResult.
IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission,
int /* routing_id */,
GURL /* document_url */,
base::FilePath /* plugin_path */)
#endif // BUILDFLAG(ENABLE_PLUGINS)
// Adding a new message? Stick to the sort order above: first platform // Adding a new message? Stick to the sort order above: first platform
// independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
// independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment