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

Unified Diff: mojo/edk/system/ports/name.cc

Issue 2515483002: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/system/ports/name.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/ports/name.cc
diff --git a/mojo/edk/system/ports/name.cc b/mojo/edk/system/ports/name.cc
index 7088cbfd248e89c6ae51afd3f8292eb19e9fea18..ea17698f978c49eb60ae7833b7da57c1f6cfe9b7 100644
--- a/mojo/edk/system/ports/name.cc
+++ b/mojo/edk/system/ports/name.cc
@@ -8,6 +8,10 @@ namespace mojo {
namespace edk {
namespace ports {
+extern const PortName kInvalidPortName = {0, 0};
+
+extern const NodeName kInvalidNodeName = {0, 0};
+
std::ostream& operator<<(std::ostream& stream, const Name& name) {
std::ios::fmtflags flags(stream.flags());
stream << std::hex << std::uppercase << name.v1;
« no previous file with comments | « mojo/edk/system/ports/name.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698