chromeos: dbus: add Bluetooth properties support
[chromium-blink-merge.git] / content / ppapi_plugin / broker_process_dispatcher.h
blobadecc97a9c6a38ef430c062b6070dd64f84d9c39
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_
6 #define CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_
8 #include "base/basictypes.h"
9 #include "ppapi/proxy/broker_dispatcher.h"
11 // Wrapper around a BrokerDispatcher that provides the necessary integration
12 // for plugin process management. This class is to avoid direct dependencies
13 // from the PPAPI proxy on the Chrome multiprocess infrastructure.
14 class BrokerProcessDispatcher : public ppapi::proxy::BrokerSideDispatcher {
15 public:
16 BrokerProcessDispatcher(base::ProcessHandle remote_process_handle,
17 PP_ConnectInstance_Func connect_instance);
18 virtual ~BrokerProcessDispatcher();
20 private:
21 DISALLOW_COPY_AND_ASSIGN(BrokerProcessDispatcher);
24 #endif // CONTENT_PPAPI_PLUGIN_BROKER_PROCESS_DISPATCHER_H_