Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Unified Diff: ppapi/proxy/broker_dispatcher.cc

Issue 10378057: Broker out PPAPI handle duplication (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/broker_dispatcher.h ('k') | ppapi/proxy/dispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/broker_dispatcher.cc
===================================================================
--- ppapi/proxy/broker_dispatcher.cc (revision 136613)
+++ ppapi/proxy/broker_dispatcher.cc (working copy)
@@ -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 @@
}
}
-BrokerHostDispatcher::BrokerHostDispatcher(
- base::ProcessHandle remote_process_handle)
- : BrokerDispatcher(remote_process_handle, NULL) {
+BrokerHostDispatcher::BrokerHostDispatcher()
+ : BrokerDispatcher(NULL) {
}
void BrokerHostDispatcher::OnChannelError() {
@@ -80,9 +77,8 @@
}
BrokerSideDispatcher::BrokerSideDispatcher(
- base::ProcessHandle remote_process_handle,
PP_ConnectInstance_Func connect_instance)
- : BrokerDispatcher(remote_process_handle, connect_instance) {
+ : BrokerDispatcher(connect_instance) {
}
void BrokerSideDispatcher::OnChannelError() {
« no previous file with comments | « ppapi/proxy/broker_dispatcher.h ('k') | ppapi/proxy/dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698