Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Unified Diff: content/public/common/child_process_host.h

Issue 1187153003: Update content module for IPC attachment brokering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GPUChannelHostFactory also needs to virtually inherit from SupportsAttachmentBrokering. This patch … Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/child/child_thread.h ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8f2f6aa5ccd80b00e19362c9740b51c82ec3da8d 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,10 @@ 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.
+ static IPC::AttachmentBroker* GetAttachmentBroker();
+
// Send the shutdown message to the child process.
// Does not check with the delegate's CanShutdown.
virtual void ForceShutdown() = 0;
« no previous file with comments | « content/public/child/child_thread.h ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698