Index: ipc/attachment_broker_privileged.h |
diff --git a/ipc/attachment_broker_privileged.h b/ipc/attachment_broker_privileged.h |
index ec600b70d38058230e36b2cbc37ad661f9775a95..686bb9d282a2a83ac7eefbfbc82db1eb7765c671 100644 |
--- a/ipc/attachment_broker_privileged.h |
+++ b/ipc/attachment_broker_privileged.h |
@@ -42,6 +42,11 @@ class IPC_EXPORT AttachmentBrokerPrivileged : public IPC::AttachmentBroker { |
static void CreateBrokerIfNeeded(); |
#endif // defined(OS_MACOSX) && !defined(OS_IOS) |
+ // Similar to CreateBrokerIfNeeded(), but useful for single process unit tests |
+ // that don't need real attachment brokering, and don't want to deal with |
+ // setting up a fake PortProvider. |
+ static void CreateBrokerForSingleProcessTests(); |
+ |
// AttachmentBroker overrides. |
void RegisterCommunicationChannel(Endpoint* endpoint) override; |
void DeregisterCommunicationChannel(Endpoint* endpoint) override; |