blob: dd186fd89c4409b9ca8cebde4a3ca4e022a9b6ae [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "mojo/system/message_pipe_endpoint.h"
#include "base/logging.h"
#include "mojo/system/channel.h"
namespace mojo {
namespace system {
void MessagePipeEndpoint::CancelAllWaiters() {
NOTREACHED();
}
MojoResult MessagePipeEndpoint::ReadMessage(
void* /*bytes*/, uint32_t* /*num_bytes*/,
std::vector<scoped_refptr<Dispatcher> >* /*dispatchers*/,
uint32_t* /*num_dispatchers*/,
MojoReadMessageFlags /*flags*/) {
NOTREACHED();
return MOJO_RESULT_INTERNAL;
}
MojoResult MessagePipeEndpoint::AddWaiter(Waiter* /*waiter*/,
MojoWaitFlags /*flags*/,
MojoResult /*wake_result*/) {
NOTREACHED();
return MOJO_RESULT_INTERNAL;
}
void MessagePipeEndpoint::RemoveWaiter(Waiter* /*waiter*/) {
NOTREACHED();
}
void MessagePipeEndpoint::Attach(scoped_refptr<Channel> /*channel*/,
MessageInTransit::EndpointId /*local_id*/) {
NOTREACHED();
}
void MessagePipeEndpoint::Run(MessageInTransit::EndpointId /*remote_id*/) {
NOTREACHED();
}
} // namespace system
} // namespace mojo