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

Unified Diff: ppapi/proxy/broker_dispatcher.h

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 | « content/renderer/render_view_impl.cc ('k') | ppapi/proxy/broker_dispatcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/broker_dispatcher.h
===================================================================
--- ppapi/proxy/broker_dispatcher.h (revision 136613)
+++ ppapi/proxy/broker_dispatcher.h (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.
@@ -29,8 +29,7 @@
protected:
// You must call InitBrokerWithChannel after the constructor.
- BrokerDispatcher(base::ProcessHandle remote_process_handle,
- PP_ConnectInstance_Func connect_instance);
+ explicit BrokerDispatcher(PP_ConnectInstance_Func connect_instance);
void OnMsgConnectToPlugin(PP_Instance instance,
IPC::PlatformFileForTransit handle,
@@ -45,7 +44,7 @@
// The dispatcher for the browser side of the broker channel.
class PPAPI_PROXY_EXPORT BrokerHostDispatcher : public BrokerDispatcher {
public:
- BrokerHostDispatcher(base::ProcessHandle remote_process_handle);
+ BrokerHostDispatcher();
// IPC::Channel::Listener implementation.
virtual void OnChannelError() OVERRIDE;
@@ -54,8 +53,7 @@
// The dispatcher for the broker side of the broker channel.
class PPAPI_PROXY_EXPORT BrokerSideDispatcher : public BrokerDispatcher {
public:
- BrokerSideDispatcher(base::ProcessHandle remote_process_handle,
- PP_ConnectInstance_Func connect_instance);
+ explicit BrokerSideDispatcher(PP_ConnectInstance_Func connect_instance);
// IPC::Channel::Listener implementation.
virtual void OnChannelError() OVERRIDE;
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | ppapi/proxy/broker_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698