diff options
author | jschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-14 00:52:16 +0000 |
---|---|---|
committer | jschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-14 00:52:16 +0000 |
commit | cd0bd79d6ebdb72183e6f0833673464cc10b3600 (patch) | |
tree | 40d213034999b337e041f9d6c0bff88e29a3eda2 /content/common/np_channel_base.h | |
parent | 612c5b8df2f2a72126c88765dc00ac876a2aa6ff (diff) | |
download | chromium_src-cd0bd79d6ebdb72183e6f0833673464cc10b3600.zip chromium_src-cd0bd79d6ebdb72183e6f0833673464cc10b3600.tar.gz chromium_src-cd0bd79d6ebdb72183e6f0833673464cc10b3600.tar.bz2 |
Convert plugin and GPU process to brokered handle duplication.
BUG=119250
Review URL: https://chromiumcodereview.appspot.com/9958034
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132303 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/np_channel_base.h')
-rw-r--r-- | content/common/np_channel_base.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/common/np_channel_base.h b/content/common/np_channel_base.h index c931949..8bacac3 100644 --- a/content/common/np_channel_base.h +++ b/content/common/np_channel_base.h @@ -12,6 +12,7 @@ #include "base/hash_tables.h" #include "base/memory/ref_counted.h" #include "base/memory/scoped_ptr.h" +#include "base/process.h" #include "content/common/message_router.h" #include "content/common/npobject_base.h" #include "ipc/ipc_channel_handle.h" @@ -75,7 +76,7 @@ class NPChannelBase : public IPC::Channel::Listener, // IPC::Message::Sender implementation: virtual bool Send(IPC::Message* msg) OVERRIDE; - int peer_pid() { return peer_pid_; } + base::ProcessId peer_pid() { return channel_->peer_pid(); } IPC::ChannelHandle channel_handle() const { return channel_handle_; } // Returns the number of open NPObject channels in this process. |