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

Side by Side Diff: mojo/edk/system/ports_message.h

Issue 2512753002: Move const PortName data out of header file (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « mojo/edk/system/ports/node.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef MOJO_EDK_SYSTEM_PORTS_MESSAGE_H__ 5 #ifndef MOJO_EDK_SYSTEM_PORTS_MESSAGE_H__
6 #define MOJO_EDK_SYSTEM_PORTS_MESSAGE_H__ 6 #define MOJO_EDK_SYSTEM_PORTS_MESSAGE_H__
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // Construct a new PortsMessage backed by a Channel::Message. If 53 // Construct a new PortsMessage backed by a Channel::Message. If
54 // |channel_message| is null, a new one is allocated internally. 54 // |channel_message| is null, a new one is allocated internally.
55 PortsMessage(size_t num_header_bytes, 55 PortsMessage(size_t num_header_bytes,
56 size_t num_payload_bytes, 56 size_t num_payload_bytes,
57 size_t num_ports_bytes, 57 size_t num_ports_bytes,
58 Channel::MessagePtr channel_message); 58 Channel::MessagePtr channel_message);
59 59
60 Channel::MessagePtr channel_message_; 60 Channel::MessagePtr channel_message_;
61 61
62 // The node name from which this message was received, if known. 62 // The node name from which this message was received, if known.
63 ports::NodeName source_node_ = ports::kInvalidNodeName; 63 ports::NodeName source_node_ = ports::constants::kInvalidNodeName;
64 }; 64 };
65 65
66 } // namespace edk 66 } // namespace edk
67 } // namespace mojo 67 } // namespace mojo
68 68
69 #endif // MOJO_EDK_SYSTEM_PORTS_MESSAGE_H__ 69 #endif // MOJO_EDK_SYSTEM_PORTS_MESSAGE_H__
OLDNEW
« no previous file with comments | « mojo/edk/system/ports/node.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698