Chromium Code Reviews| Index: ipc/attachment_broker_unprivileged.h |
| diff --git a/ipc/attachment_broker_unprivileged.h b/ipc/attachment_broker_unprivileged.h |
| index 3d98d495932d59ed98d6950d658c00b6a7944362..695a4304d569baeec2c478e4533d20a9e4d01811 100644 |
| --- a/ipc/attachment_broker_unprivileged.h |
| +++ b/ipc/attachment_broker_unprivileged.h |
| @@ -10,6 +10,7 @@ |
| namespace IPC { |
| +class Channel; |
| class Sender; |
| // This abstract subclass of AttachmentBroker is intended for use in |
| @@ -19,7 +20,9 @@ class IPC_EXPORT AttachmentBrokerUnprivileged : public IPC::AttachmentBroker { |
| AttachmentBrokerUnprivileged(); |
| ~AttachmentBrokerUnprivileged() override; |
| - void set_sender(IPC::Sender* sender) { sender_ = sender; } |
| + // In each unprivileged process, exactly one channel should be used to |
| + // communicate brokerable attachments with the broker process.. |
|
Tom Sepez
2015/07/30 00:35:47
nit: ..
erikchen
2015/07/30 01:38:19
Done.
|
| + void DesignateBrokerCommunicationChannel(IPC::Channel* channel); |
| protected: |
| IPC::Sender* get_sender() { return sender_; } |