| Index: mojo/edk/system/ports/port.cc
|
| diff --git a/mojo/edk/system/ports/port.cc b/mojo/edk/system/ports/port.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e4403aed788823a2feac3f894bb68396e94c2efb
|
| --- /dev/null
|
| +++ b/mojo/edk/system/ports/port.cc
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2016 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/edk/system/ports/port.h"
|
| +
|
| +namespace mojo {
|
| +namespace edk {
|
| +namespace ports {
|
| +
|
| +Port::Port(uint64_t next_sequence_num_to_send,
|
| + uint64_t next_sequence_num_to_receive)
|
| + : state(kUninitialized),
|
| + next_sequence_num_to_send(next_sequence_num_to_send),
|
| + last_sequence_num_to_receive(0),
|
| + message_queue(next_sequence_num_to_receive),
|
| + remove_proxy_on_last_message(false),
|
| + peer_closed(false) {}
|
| +
|
| +Port::~Port() {}
|
| +
|
| +} // namespace ports
|
| +} // namespace edk
|
| +} // namespace mojo
|
|
|