summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/broker_dispatcher.cc
diff options
context:
space:
mode:
authorjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 22:09:11 +0000
committerjschuh@chromium.org <jschuh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 22:09:11 +0000
commitf0ecb550248afddff9a28c8bf645e689f59a6e3e (patch)
tree5f5cf57c51d63213af26411488117f64e1a3b42d /ppapi/proxy/broker_dispatcher.cc
parente9dfe22b38c9f4b14dbf047e3e0816537ea632d4 (diff)
downloadchromium_src-f0ecb550248afddff9a28c8bf645e689f59a6e3e.zip
chromium_src-f0ecb550248afddff9a28c8bf645e689f59a6e3e.tar.gz
chromium_src-f0ecb550248afddff9a28c8bf645e689f59a6e3e.tar.bz2
Broker out PPAPI handle duplication
BUG=127449 Review URL: https://chromiumcodereview.appspot.com/10378057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136686 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy/broker_dispatcher.cc')
-rw-r--r--ppapi/proxy/broker_dispatcher.cc16
1 files changed, 6 insertions, 10 deletions
diff --git a/ppapi/proxy/broker_dispatcher.cc b/ppapi/proxy/broker_dispatcher.cc
index c3f3b47..97fca5c 100644
--- a/ppapi/proxy/broker_dispatcher.cc
+++ b/ppapi/proxy/broker_dispatcher.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -12,10 +12,8 @@
namespace ppapi {
namespace proxy {
-BrokerDispatcher::BrokerDispatcher(base::ProcessHandle remote_process_handle,
- PP_ConnectInstance_Func connect_instance)
- : ProxyChannel(remote_process_handle),
- connect_instance_(connect_instance) {
+BrokerDispatcher::BrokerDispatcher(PP_ConnectInstance_Func connect_instance)
+ : connect_instance_(connect_instance) {
}
BrokerDispatcher::~BrokerDispatcher() {
@@ -65,9 +63,8 @@ void BrokerDispatcher::OnMsgConnectToPlugin(
}
}
-BrokerHostDispatcher::BrokerHostDispatcher(
- base::ProcessHandle remote_process_handle)
- : BrokerDispatcher(remote_process_handle, NULL) {
+BrokerHostDispatcher::BrokerHostDispatcher()
+ : BrokerDispatcher(NULL) {
}
void BrokerHostDispatcher::OnChannelError() {
@@ -80,9 +77,8 @@ void BrokerHostDispatcher::OnChannelError() {
}
BrokerSideDispatcher::BrokerSideDispatcher(
- base::ProcessHandle remote_process_handle,
PP_ConnectInstance_Func connect_instance)
- : BrokerDispatcher(remote_process_handle, connect_instance) {
+ : BrokerDispatcher(connect_instance) {
}
void BrokerSideDispatcher::OnChannelError() {