Home | History | Annotate | Download | only in ipc

Lines Matching full:channel

38   contents->data.resize(Channel::kReadBufferSize);
64 class Channel::ChannelImpl::ReaderThreadRunner
93 Channel::ChannelImpl::ReaderThreadRunner::ReaderThreadRunner(
104 void Channel::ChannelImpl::ReaderThreadRunner::Run() {
120 Channel::ChannelImpl::ChannelImpl(const IPC::ChannelHandle& channel_handle,
137 Channel::ChannelImpl::~ChannelImpl() {
141 bool Channel::ChannelImpl::Connect() {
143 DLOG(INFO) << "Channel creation failed: " << pipe_name_;
147 // Note that Connect is called on the "Channel" thread (i.e., the same thread
148 // where Channel::Send will be called, and the same thread that should receive
155 base::Bind(&Channel::ChannelImpl::DidRecvMsg,
157 base::Bind(&Channel::ChannelImpl::ReadDidFail,
170 void Channel::ChannelImpl::Close() {
174 // If untrusted code tries to close the channel prior to shutdown, it's likely
187 bool Channel::ChannelImpl::Send(Message* message) {
188 DVLOG(2) << "sending message @" << message << " on channel @" << this
204 void Channel::ChannelImpl::DidRecvMsg(scoped_ptr<MessageContents> contents) {
225 void Channel::ChannelImpl::ReadDidFail() {
229 bool Channel::ChannelImpl::CreatePipe(
234 // 1) It's a channel wrapping a pipe that is given to us.
236 // 2) It's for a named channel.
238 // 4) It's the initial IPC channel.
248 bool Channel::ChannelImpl::ProcessOutgoingMessages() {
296 Channel::ChannelImpl::ReadState Channel::ChannelImpl::ReadData(
327 bool Channel::ChannelImpl::WillDispatchInputMessage(Message* msg) {
342 bool Channel::ChannelImpl::DidEmptyInputBuffers() {
347 void Channel::ChannelImpl::HandleInternalMessage(const Message& msg) {
348 // The trusted side IPC::Channel should handle the "hello" handshake; we
354 // Channel's methods simply call through to ChannelImpl.
356 Channel::Channel(const IPC::ChannelHandle& channel_handle,
362 Channel::~Channel() {
366 bool Channel::Connect() {
370 void Channel::Close() {
374 base::ProcessId Channel::peer_pid() const {
380 bool Channel::Send(Message* message) {