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

Unified Diff: util/mach/child_port_server.cc

Issue 781823002: Add CompositeMachMessageServer and its test (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 6 years 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 | « util/mach/child_port_server.h ('k') | util/mach/child_port_server_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/mach/child_port_server.cc
diff --git a/util/mach/child_port_server.cc b/util/mach/child_port_server.cc
index 5f4b32242c15e72782f342f071d43020832d15b8..500cd1e57a712a859e2cee3988cd2a39940bd3a4 100644
--- a/util/mach/child_port_server.cc
+++ b/util/mach/child_port_server.cc
@@ -103,6 +103,12 @@ bool ChildPortServer::MachMessageServerFunction(
return false;
}
+std::set<mach_msg_id_t> ChildPortServer::MachMessageServerRequestIDs() {
+ const mach_msg_id_t request_ids[] = {kMachMessageIDChildPortCheckIn};
+ return std::set<mach_msg_id_t>(
+ &request_ids[0], &request_ids[arraysize(request_ids)]);
+}
+
mach_msg_size_t ChildPortServer::MachMessageServerRequestSize() {
return sizeof(__RequestUnion__handle_child_port_subsystem);
}
« no previous file with comments | « util/mach/child_port_server.h ('k') | util/mach/child_port_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698