summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/plugin_channel_base.cc
diff options
context:
space:
mode:
authorjcampan@google.com <jcampan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 01:25:41 +0000
committerjcampan@google.com <jcampan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 01:25:41 +0000
commitd65cab7ac310ea12c5d946ff40242a243ce911da (patch)
treefe3eaa4a4e6f14a7416c4b4da351e18cd34d34b2 /chrome/plugin/plugin_channel_base.cc
parent1a48f315b0ca5c26c4446070edfb5842ed06c8c7 (diff)
downloadchromium_src-d65cab7ac310ea12c5d946ff40242a243ce911da.zip
chromium_src-d65cab7ac310ea12c5d946ff40242a243ce911da.tar.gz
chromium_src-d65cab7ac310ea12c5d946ff40242a243ce911da.tar.bz2
Enabling sync_channel in the browser to allow accessibility code making blocking calls. This replaces my previous CL that was somehow duplicating some of these functionalities.
BUG=None TEST=Run the unit tests. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@691 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/plugin_channel_base.cc')
-rw-r--r--chrome/plugin/plugin_channel_base.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/plugin/plugin_channel_base.cc b/chrome/plugin/plugin_channel_base.cc
index 1cb3111..fec5bd4 100644
--- a/chrome/plugin/plugin_channel_base.cc
+++ b/chrome/plugin/plugin_channel_base.cc
@@ -33,6 +33,7 @@
#include "chrome/plugin/plugin_channel_base.h"
#include "chrome/common/ipc_sync_message.h"
+#include "chrome/plugin/plugin_process.h"
typedef stdext::hash_map<std::wstring, scoped_refptr<PluginChannelBase> >
PluginChannelMap;
@@ -100,8 +101,9 @@ void PluginChannelBase::CleanupChannels() {
bool PluginChannelBase::Init(MessageLoop* ipc_message_loop,
bool create_pipe_now) {
- channel_.reset(new IPC::SyncChannel(channel_name_, mode_, this,
- ipc_message_loop, create_pipe_now));
+ channel_.reset(new IPC::SyncChannel(channel_name_, mode_, this, NULL,
+ ipc_message_loop, create_pipe_now,
+ PluginProcess::GetShutDownEvent()));
channel_valid_ = true;
return true;
}