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

Unified Diff: mojo/edk/system/ports/event.h

Issue 1675603002: [mojo-edk] Simplify multiprocess pipe bootstrap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix some callers to work with sync APIs 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/edk/system/node_controller.cc ('k') | mojo/edk/system/ports/message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/ports/event.h
diff --git a/mojo/edk/system/ports/event.h b/mojo/edk/system/ports/event.h
index aec9f6b43b98f26c1f425b4235edc1ceb30d4374..1dc8eab29fc4a402e2f15c67b4758a43ecd5e986 100644
--- a/mojo/edk/system/ports/event.h
+++ b/mojo/edk/system/ports/event.h
@@ -34,6 +34,7 @@ enum struct EventType : uint32_t {
kObserveProxy,
kObserveProxyAck,
kObserveClosure,
+ kMergePort,
};
struct EventHeader {
@@ -63,6 +64,11 @@ struct ObserveClosureEventData {
uint64_t last_sequence_num;
};
+struct MergePortEventData {
+ PortName new_port_name;
+ PortDescriptor new_port_descriptor;
+};
+
inline const EventHeader* GetEventHeader(const Message& message) {
return static_cast<const EventHeader*>(message.header_bytes());
}
« no previous file with comments | « mojo/edk/system/node_controller.cc ('k') | mojo/edk/system/ports/message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698