| Index: ipc/attachment_broker.h
|
| diff --git a/ipc/attachment_broker.h b/ipc/attachment_broker.h
|
| index 5b65289393706545e221d7f05b2df9f615b88068..577d76219f9b5bb02f092b97886806c5fdb344d3 100644
|
| --- a/ipc/attachment_broker.h
|
| +++ b/ipc/attachment_broker.h
|
| @@ -50,6 +50,12 @@ class IPC_EXPORT AttachmentBroker : public Listener {
|
| const BrokerableAttachment::AttachmentId& id) = 0;
|
| };
|
|
|
| + // Each process has at most one attachment broker. The process is responsible
|
| + // for ensuring that |broker| stays alive for as long as the process is
|
| + // sending/receiving ipc messages.
|
| + static void SetGlobal(AttachmentBroker* broker);
|
| + static AttachmentBroker* GetGlobal();
|
| +
|
| AttachmentBroker();
|
| ~AttachmentBroker() override;
|
|
|
|
|