Lines Matching defs:Channel
26 Channel::ChannelImpl::State::State(ChannelImpl* channel) : is_pending(false) {
28 context.handler = channel;
31 Channel::ChannelImpl::State::~State() {
32 COMPILE_ASSERT(!offsetof(Channel::ChannelImpl::State, context),
36 Channel::ChannelImpl::ChannelImpl(const IPC::ChannelHandle &channel_handle,
51 Channel::ChannelImpl::~ChannelImpl() {
55 void Channel::ChannelImpl::Close() {
83 bool Channel::ChannelImpl::Send(Message* message) {
85 DVLOG(2) << "sending message @" << message << " on channel @" << this
107 bool Channel::ChannelImpl::IsNamedServerInitialized(
116 Channel::ChannelImpl::ReadState Channel::ChannelImpl::ReadData(
148 bool Channel::ChannelImpl::WillDispatchInputMessage(Message* msg) {
155 void Channel::ChannelImpl::HandleInternalMessage(const Message& msg) {
156 DCHECK_EQ(msg.type(), static_cast<unsigned>(Channel::HELLO_MESSAGE_TYPE));
180 bool Channel::ChannelImpl::DidEmptyInputBuffers() {
186 const string16 Channel::ChannelImpl::PipeName(
204 bool Channel::ChannelImpl::CreatePipe(const IPC::ChannelHandle &channel_handle,
208 // If we already have a valid pipe for channel just copy it.
243 Channel::kReadBufferSize,
244 Channel::kReadBufferSize,
289 bool Channel::ChannelImpl::Connect() {
310 base::Bind(&Channel::ChannelImpl::OnIOCompleted,
322 bool Channel::ChannelImpl::ProcessConnection() {
359 bool Channel::ChannelImpl::ProcessOutgoingMessages(
400 DVLOG(2) << "sent pending message @" << m << " on channel @" << this
409 DVLOG(2) << "sent message @" << m << " on channel @" << this
416 void Channel::ChannelImpl::OnIOCompleted(
466 // Channel's methods simply call through to ChannelImpl.
467 Channel::Channel(const IPC::ChannelHandle &channel_handle, Mode mode,
472 Channel::~Channel() {
476 bool Channel::Connect() {
480 void Channel::Close() {
485 base::ProcessId Channel::peer_pid() const {
489 bool Channel::Send(Message* message) {
494 bool Channel::IsNamedServerInitialized(const std::string& channel_id) {
499 std::string Channel::GenerateVerifiedChannelID(const std::string& prefix) {