| Index: ipc/attachment_broker.h
|
| diff --git a/ipc/attachment_broker.h b/ipc/attachment_broker.h
|
| index 9bca1572e8c888758211fe89f0a62c5bd0c1cb12..70383edf71368737164e2fbcd0415ed8bcb0f945 100644
|
| --- a/ipc/attachment_broker.h
|
| +++ b/ipc/attachment_broker.h
|
| @@ -27,6 +27,7 @@
|
|
|
| namespace base {
|
| class SequencedTaskRunner;
|
| +class SingleThreadTaskRunner;
|
| };
|
|
|
| namespace IPC {
|
| @@ -94,7 +95,11 @@ class IPC_EXPORT AttachmentBroker : public Listener {
|
| // communicates attachment information with the broker process. In the broker
|
| // process, these channels must be registered and deregistered with the
|
| // Attachment Broker as they are created and destroyed.
|
| - virtual void RegisterCommunicationChannel(Endpoint* endpoint);
|
| + //
|
| + // Invocations of Send() on |endpoint| will occur on thread bound to |runner|.
|
| + virtual void RegisterCommunicationChannel(
|
| + Endpoint* endpoint,
|
| + scoped_refptr<base::SingleThreadTaskRunner> runner);
|
| virtual void DeregisterCommunicationChannel(Endpoint* endpoint);
|
|
|
| // In each unprivileged process, exactly one channel should be used to
|
|
|