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

Unified Diff: ipc/ipc_channel_factory.h

Issue 1185133006: IPC: Make ChannelReader inherit from SupportsAttachmentBrokering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from tsepez. 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 | « ipc/ipc_channel_common.cc ('k') | ipc/ipc_channel_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/ipc_channel_factory.h
diff --git a/ipc/ipc_channel_factory.h b/ipc/ipc_channel_factory.h
index 84bcf9725c9c8f3a372b770ab3b116c5722410ae..71ebe8aaaae7e3983402644f88088295740aaeb7 100644
--- a/ipc/ipc_channel_factory.h
+++ b/ipc/ipc_channel_factory.h
@@ -13,6 +13,8 @@
namespace IPC {
+class AttachmentBroker;
+
// Encapsulates how a Channel is created. A ChannelFactory can be
// passed to the constructor of ChannelProxy or SyncChannel to tell them
// how to create underlying channel.
@@ -20,8 +22,9 @@ class IPC_EXPORT ChannelFactory {
public:
// Creates a factory for "native" channel built through
// IPC::Channel::Create().
- static scoped_ptr<ChannelFactory> Create(
- const ChannelHandle& handle, Channel::Mode mode);
+ static scoped_ptr<ChannelFactory> Create(const ChannelHandle& handle,
+ Channel::Mode mode,
+ AttachmentBroker* broker);
virtual ~ChannelFactory() { }
virtual std::string GetName() const = 0;
« no previous file with comments | « ipc/ipc_channel_common.cc ('k') | ipc/ipc_channel_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698