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

Side by Side Diff: util/mach/mach_message.h

Issue 772133004: Move mach_message_util.* to mach_message.* (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 unified diff | Download patch
« no previous file with comments | « util/mach/exc_server_variants_test.cc ('k') | util/mach/mach_message.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and 12 // See the License for the specific language governing permissions and
13 // limitations under the License. 13 // limitations under the License.
14 14
15 #ifndef CRASHPAD_UTIL_MACH_MACH_MESSAGE_UTIL_H_ 15 #ifndef CRASHPAD_UTIL_MACH_MACH_MESSAGE_H_
16 #define CRASHPAD_UTIL_MACH_MACH_MESSAGE_UTIL_H_ 16 #define CRASHPAD_UTIL_MACH_MACH_MESSAGE_H_
17 17
18 #include <mach/mach.h> 18 #include <mach/mach.h>
19 19
20 namespace crashpad { 20 namespace crashpad {
21 21
22 //! \brief Initializes a reply message for a MIG server routine based on its 22 //! \brief Initializes a reply message for a MIG server routine based on its
23 //! corresponding request. 23 //! corresponding request.
24 //! 24 //!
25 //! If a request is handled by a server routine, it may be necessary to revise 25 //! If a request is handled by a server routine, it may be necessary to revise
26 //! some of the fields set by this function, such as `msgh_size` and any fields 26 //! some of the fields set by this function, such as `msgh_size` and any fields
(...skipping 30 matching lines...) Expand all
57 //! \param[in] header A pointer to a received Mach message. 57 //! \param[in] header A pointer to a received Mach message.
58 //! 58 //!
59 //! \return A pointer to the trailer following the received Mach message’s body. 59 //! \return A pointer to the trailer following the received Mach message’s body.
60 //! The contents of the trailer depend on the options provided to 60 //! The contents of the trailer depend on the options provided to
61 //! `mach_msg()` or a similar function when the message was received. 61 //! `mach_msg()` or a similar function when the message was received.
62 const mach_msg_trailer_t* MachMessageTrailerFromHeader( 62 const mach_msg_trailer_t* MachMessageTrailerFromHeader(
63 const mach_msg_header_t* header); 63 const mach_msg_header_t* header);
64 64
65 } // namespace crashpad 65 } // namespace crashpad
66 66
67 #endif // CRASHPAD_UTIL_MACH_MACH_MESSAGE_UTIL_H_ 67 #endif // CRASHPAD_UTIL_MACH_MACH_MESSAGE_H_
OLDNEW
« no previous file with comments | « util/mach/exc_server_variants_test.cc ('k') | util/mach/mach_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698