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
3 // found in the LICENSE file.
5 #include "mojo/system/channel_endpoint.h"
7 #include "mojo/system/channel.h"
8 #include "mojo/system/message_in_transit_queue.h"
13 ChannelEndpoint::ChannelEndpoint(MessagePipe
* message_pipe
, unsigned port
)
14 : state_(STATE_NORMAL
), message_pipe_(message_pipe
), port_(port
) {
17 ChannelEndpoint::~ChannelEndpoint() {