Enable lock even when no password hash is present.
[chromium-blink-merge.git] / mojo / system / channel_endpoint.cc
blob5ba153ebf316a1d6ec70431540207191fff7c83f
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"
10 namespace mojo {
11 namespace system {
13 ChannelEndpoint::ChannelEndpoint(MessagePipe* message_pipe, unsigned port)
14 : state_(STATE_NORMAL), message_pipe_(message_pipe), port_(port) {
17 ChannelEndpoint::~ChannelEndpoint() {
20 } // namespace system
21 } // namespace mojo