diff options
Diffstat (limited to 'chrome/plugin/plugin_channel.cc')
-rw-r--r-- | chrome/plugin/plugin_channel.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/plugin/plugin_channel.cc b/chrome/plugin/plugin_channel.cc index 125054a..066bda3 100644 --- a/chrome/plugin/plugin_channel.cc +++ b/chrome/plugin/plugin_channel.cc @@ -6,12 +6,12 @@ #include "chrome/plugin/plugin_channel.h" -#include "chrome/common/plugin_messages.h" #include "base/command_line.h" #include "base/process_util.h" #include "base/string_util.h" +#include "chrome/common/child_process.h" +#include "chrome/common/plugin_messages.h" #include "chrome/common/chrome_switches.h" -#include "chrome/plugin/plugin_process.h" #include "chrome/plugin/plugin_thread.h" PluginChannel* PluginChannel::GetPluginChannel(MessageLoop* ipc_message_loop) { @@ -29,13 +29,13 @@ PluginChannel* PluginChannel::GetPluginChannel(MessageLoop* ipc_message_loop) { PluginChannel::PluginChannel() : in_send_(0), off_the_record_(false) { SendUnblockingOnlyDuringDispatch(); - PluginProcess::current()->AddRefProcess(); + ChildProcess::current()->AddRefProcess(); const CommandLine* command_line = CommandLine::ForCurrentProcess(); log_messages_ = command_line->HasSwitch(switches::kLogPluginMessages); } PluginChannel::~PluginChannel() { - PluginProcess::current()->ReleaseProcess(); + ChildProcess::current()->ReleaseProcess(); } bool PluginChannel::Send(IPC::Message* msg) { |