diff options
author | jschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-29 16:29:01 +0000 |
---|---|---|
committer | jschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-29 16:29:01 +0000 |
commit | bb7917f1f130da7ef16f5653fbc6aa778e00e044 (patch) | |
tree | d42842faefe4db1635e3b6d504d1d41bbf4992db /content/plugin/plugin_channel.h | |
parent | f6e06204466d7ce6d33a3f5a9cf3ae2128561df7 (diff) | |
download | chromium_src-bb7917f1f130da7ef16f5653fbc6aa778e00e044.zip chromium_src-bb7917f1f130da7ef16f5653fbc6aa778e00e044.tar.gz chromium_src-bb7917f1f130da7ef16f5653fbc6aa778e00e044.tar.bz2 |
Revert 129627 - Add a sandbox API for broker handle duplication
BUG=119250
Review URL: https://chromiumcodereview.appspot.com/9838083
TBR=jschuh@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9924010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@129629 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/plugin/plugin_channel.h')
-rw-r--r-- | content/plugin/plugin_channel.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/content/plugin/plugin_channel.h b/content/plugin/plugin_channel.h index cb72391..27acc4c 100644 --- a/content/plugin/plugin_channel.h +++ b/content/plugin/plugin_channel.h @@ -1,4 +1,4 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -36,6 +36,7 @@ class PluginChannel : public NPChannelBase { virtual bool Send(IPC::Message* msg) OVERRIDE; virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; + base::ProcessHandle renderer_handle() const { return renderer_handle_; } int renderer_id() { return renderer_id_; } virtual int GenerateRouteID() OVERRIDE; @@ -58,6 +59,7 @@ class PluginChannel : public NPChannelBase { protected: // IPC::Channel::Listener implementation: + virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; virtual void OnChannelError() OVERRIDE; virtual void CleanUp() OVERRIDE; @@ -86,6 +88,9 @@ class PluginChannel : public NPChannelBase { std::vector<scoped_refptr<WebPluginDelegateStub> > plugin_stubs_; + // Handle to the renderer process who is on the other side of the channel. + base::ProcessHandle renderer_handle_; + // The id of the renderer who is on the other side of the channel. int renderer_id_; |