| Index: content/public/common/child_process_host.h
|
| diff --git a/content/public/common/child_process_host.h b/content/public/common/child_process_host.h
|
| index c79938b405f82d6c0d591730d0cf59c31c766aac..dc288719e8a63adeb7036c0a6cceba843c8b23dd 100644
|
| --- a/content/public/common/child_process_host.h
|
| +++ b/content/public/common/child_process_host.h
|
| @@ -15,6 +15,7 @@ class FilePath;
|
| }
|
|
|
| namespace IPC {
|
| +class AttachmentBroker;
|
| class MessageFilter;
|
| }
|
|
|
| @@ -83,6 +84,13 @@ class CONTENT_EXPORT ChildProcessHost : public IPC::Sender {
|
| // On failure, returns an empty FilePath.
|
| static base::FilePath GetChildPath(int flags);
|
|
|
| + // Returns an AttachmentBroker used to broker attachments of IPC messages to
|
| + // child processes. This method is only useful in the embedder, and only
|
| + // because a particular embedder (Chrome) is bad at avoiding the use of
|
| + // singletons. Child processes should find a cleaner way of passing around an
|
| + // AttachmentBroker.
|
| + static IPC::AttachmentBroker* GetAttachmentBroker();
|
| +
|
| // Send the shutdown message to the child process.
|
| // Does not check with the delegate's CanShutdown.
|
| virtual void ForceShutdown() = 0;
|
|
|