| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ipc/ipc_channel.h" | 5 #include "ipc/ipc_channel.h" |
| 6 | 6 |
| 7 namespace IPC { | 7 namespace IPC { |
| 8 | 8 |
| 9 // static | 9 // static |
| 10 scoped_ptr<Channel> Channel::CreateClient( | 10 scoped_ptr<Channel> Channel::CreateClient( |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 // static | 37 // static |
| 38 scoped_ptr<Channel> Channel::CreateServer( | 38 scoped_ptr<Channel> Channel::CreateServer( |
| 39 const IPC::ChannelHandle &channel_handle, Listener* listener) { | 39 const IPC::ChannelHandle &channel_handle, Listener* listener) { |
| 40 return Channel::Create(channel_handle, Channel::MODE_SERVER, listener); | 40 return Channel::Create(channel_handle, Channel::MODE_SERVER, listener); |
| 41 } | 41 } |
| 42 | 42 |
| 43 Channel::~Channel() { | 43 Channel::~Channel() { |
| 44 } | 44 } |
| 45 | 45 |
| 46 bool Channel::IsSendThreadSafe() const { |
| 47 return false; |
| 48 } |
| 49 |
| 46 } // namespace IPC | 50 } // namespace IPC |
| 47 | 51 |
| OLD | NEW |