Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Side by Side Diff: mojo/edk/system/ports/port.cc

Issue 1585493002: [mojo] Ports EDK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698