OLD | NEW |
1 // Copyright 2015 The Crashpad Authors. All rights reserved. | 1 // Copyright 2015 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_SNAPSHOT_CRASHPAD_INFO_CLIENT_OPTIONS_H_ | 15 #ifndef CRASHPAD_SNAPSHOT_CRASHPAD_INFO_CLIENT_OPTIONS_H_ |
16 #define CRASHPAD_SNAPSHOT_CRASHPAD_INFO_CLIENT_OPTIONS_H_ | 16 #define CRASHPAD_SNAPSHOT_CRASHPAD_INFO_CLIENT_OPTIONS_H_ |
17 | 17 |
| 18 #include <stdint.h> |
| 19 |
18 #include "util/misc/tri_state.h" | 20 #include "util/misc/tri_state.h" |
19 | 21 |
20 namespace crashpad { | 22 namespace crashpad { |
21 | 23 |
22 //! \brief Options represented in a client’s CrashpadInfo structure. | 24 //! \brief Options represented in a client’s CrashpadInfo structure. |
23 //! | 25 //! |
24 //! The CrashpadInfo structure is not suitable to expose client options | 26 //! The CrashpadInfo structure is not suitable to expose client options |
25 //! in a generic way at the snapshot level. This structure duplicates | 27 //! in a generic way at the snapshot level. This structure duplicates |
26 //! option-related fields from the client structure for general use within the | 28 //! option-related fields from the client structure for general use within the |
27 //! snapshot layer and by users of this layer. | 29 //! snapshot layer and by users of this layer. |
(...skipping 27 matching lines...) Expand all Loading... |
55 //! \sa CrashpadInfo::set_crashpad_handler_behavior() | 57 //! \sa CrashpadInfo::set_crashpad_handler_behavior() |
56 TriState crashpad_handler_behavior; | 58 TriState crashpad_handler_behavior; |
57 | 59 |
58 //! \sa CrashpadInfo::set_system_crash_reporter_forwarding() | 60 //! \sa CrashpadInfo::set_system_crash_reporter_forwarding() |
59 TriState system_crash_reporter_forwarding; | 61 TriState system_crash_reporter_forwarding; |
60 }; | 62 }; |
61 | 63 |
62 } // namespace crashpad | 64 } // namespace crashpad |
63 | 65 |
64 #endif // CRASHPAD_SNAPSHOT_CRASHPAD_INFO_CLIENT_OPTIONS_H_ | 66 #endif // CRASHPAD_SNAPSHOT_CRASHPAD_INFO_CLIENT_OPTIONS_H_ |
OLD | NEW |