OLD | NEW |
1 // Copyright 2014 The Crashpad Authors. All rights reserved. | 1 // Copyright 2014 The Crashpad Authors. All rights reserved. |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 //! | 55 //! |
56 //! \param[in] interface The interface to dispatch requests to. Weak. | 56 //! \param[in] interface The interface to dispatch requests to. Weak. |
57 explicit ChildPortServer(Interface* interface); | 57 explicit ChildPortServer(Interface* interface); |
58 | 58 |
59 // MachMessageServer::Interface: | 59 // MachMessageServer::Interface: |
60 | 60 |
61 bool MachMessageServerFunction(const mach_msg_header_t* in_header, | 61 bool MachMessageServerFunction(const mach_msg_header_t* in_header, |
62 mach_msg_header_t* out_header, | 62 mach_msg_header_t* out_header, |
63 bool* destroy_complex_request) override; | 63 bool* destroy_complex_request) override; |
64 | 64 |
| 65 std::set<mach_msg_id_t> MachMessageServerRequestIDs() override; |
| 66 |
65 mach_msg_size_t MachMessageServerRequestSize() override; | 67 mach_msg_size_t MachMessageServerRequestSize() override; |
66 mach_msg_size_t MachMessageServerReplySize() override; | 68 mach_msg_size_t MachMessageServerReplySize() override; |
67 | 69 |
68 private: | 70 private: |
69 Interface* interface_; // weak | 71 Interface* interface_; // weak |
70 | 72 |
71 DISALLOW_COPY_AND_ASSIGN(ChildPortServer); | 73 DISALLOW_COPY_AND_ASSIGN(ChildPortServer); |
72 }; | 74 }; |
73 | 75 |
74 } // namespace crashpad | 76 } // namespace crashpad |
75 | 77 |
76 #endif // CRASHPAD_UTIL_MACH_CHILD_PORT_SERVER_H_ | 78 #endif // CRASHPAD_UTIL_MACH_CHILD_PORT_SERVER_H_ |
OLD | NEW |