| Index: ipc/attachment_broker_privileged_mac.h
|
| diff --git a/ipc/attachment_broker_privileged_mac.h b/ipc/attachment_broker_privileged_mac.h
|
| index c6776f64e1c07fa70a740792ac8a77a685faa33d..329a376a9c769c24882c34881e0159bc3c70b354 100644
|
| --- a/ipc/attachment_broker_privileged_mac.h
|
| +++ b/ipc/attachment_broker_privileged_mac.h
|
| @@ -14,6 +14,10 @@
|
| #include "ipc/ipc_export.h"
|
| #include "ipc/mach_port_attachment_mac.h"
|
|
|
| +namespace base {
|
| +class PortProvider;
|
| +} // namespace base
|
| +
|
| namespace IPC {
|
|
|
| // This class is a concrete subclass of AttachmentBrokerPrivileged for the
|
| @@ -47,7 +51,7 @@ namespace IPC {
|
| class IPC_EXPORT AttachmentBrokerPrivilegedMac
|
| : public AttachmentBrokerPrivileged {
|
| public:
|
| - AttachmentBrokerPrivilegedMac();
|
| + explicit AttachmentBrokerPrivilegedMac(base::PortProvider* port_provider);
|
| ~AttachmentBrokerPrivilegedMac() override;
|
|
|
| // IPC::AttachmentBroker overrides.
|
| @@ -118,6 +122,9 @@ class IPC_EXPORT AttachmentBrokerPrivilegedMac
|
| // that receives the Chrome IPC message.
|
| void RouteWireFormatToAnother(const MachPortWireFormat& wire_format);
|
|
|
| + // The port provider must live at least as long as the AttachmentBroker.
|
| + base::PortProvider* port_provider_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(AttachmentBrokerPrivilegedMac);
|
| };
|
|
|
|
|