From fafc3234cf5852eac398d1c1fd99b01cb4b6eb98 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Mon, 22 Jun 2009 15:31:15 +0000 Subject: Revert "posix: two related changes to make plugin IPC work on POSIX." This looks like it might be to blame for reliability test failures, so I'm trying it out. This reverts commit r18888. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18905 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/render_messages_internal.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'chrome/common/render_messages_internal.h') diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h index 5debd5f..d96220d 100644 --- a/chrome/common/render_messages_internal.h +++ b/chrome/common/render_messages_internal.h @@ -17,7 +17,6 @@ #include "base/gfx/native_widget_types.h" #include "base/shared_memory.h" #include "base/values.h" -#include "chrome/common/ipc_channel_handle.h" #include "chrome/common/ipc_message_macros.h" #include "chrome/common/transport_dib.h" #include "third_party/skia/include/core/SkBitmap.h" @@ -925,16 +924,16 @@ IPC_BEGIN_MESSAGES(ViewHost) std::string /* origin */, std::string /* target */) - // A renderer sends this to the browser process when it wants to - // create a plugin. The browser will create the plugin process if - // necessary, and will return a handle to the channel on success. - // On error an empty string is returned. + // A renderer sends this to the browser process when it wants to create a + // plugin. The browser will create the plugin process if necessary, and + // will return the channel name on success. On error an empty string is + // returned. IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, GURL /* url */, std::string /* mime_type */, std::string /* clsid */, std::wstring /* locale */, - IPC::ChannelHandle /* handle to channel */, + std::string /* channel_name */, FilePath /* plugin_path */) // Clipboard IPC messages -- cgit v1.1