diff options
Diffstat (limited to 'ipc/ipc_channel_factory.cc')
-rw-r--r-- | ipc/ipc_channel_factory.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ipc/ipc_channel_factory.cc b/ipc/ipc_channel_factory.cc index 9bcaa75..f553203 100644 --- a/ipc/ipc_channel_factory.cc +++ b/ipc/ipc_channel_factory.cc @@ -15,9 +15,12 @@ class PlatformChannelFactory : public ChannelFactory { : handle_(handle), mode_(mode) { } - std::string GetName() const override { return handle_.name; } + virtual std::string GetName() const override { + return handle_.name; + } - scoped_ptr<Channel> BuildChannel(Listener* listener) override { + virtual scoped_ptr<Channel> BuildChannel( + Listener* listener) override { return Channel::Create(handle_, mode_, listener); } |