OLD | NEW |
(Empty) | |
| 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 |
| 7 namespace mojo { |
| 8 namespace edk { |
| 9 namespace ports { |
| 10 |
| 11 Port::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 |
| 20 Port::~Port() {} |
| 21 |
| 22 } // namespace ports |
| 23 } // namespace edk |
| 24 } // namespace mojo |
OLD | NEW |