1// Copyright 2016 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. 4 5#include "mojo/edk/system/ports/port.h" 6 7namespace mojo { 8namespace edk { 9namespace ports { 10 11Port::Port(uint64_t next_sequence_num_to_send, 12 uint64_t next_sequence_num_to_receive) 13 : state(kUninitialized), 14 next_sequence_num_to_send(next_sequence_num_to_send), 15 last_sequence_num_to_receive(0), 16 message_queue(next_sequence_num_to_receive), 17 remove_proxy_on_last_message(false), 18 peer_closed(false) {} 19 20Port::~Port() {} 21 22} // namespace ports 23} // namespace edk 24} // namespace mojo 25