| 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 15 matching lines...) Expand all Loading... |
| 26 #include "snapshot/thread_snapshot.h" | 26 #include "snapshot/thread_snapshot.h" |
| 27 #include "util/misc/initialization_state_dcheck.h" | 27 #include "util/misc/initialization_state_dcheck.h" |
| 28 | 28 |
| 29 namespace crashpad { | 29 namespace crashpad { |
| 30 | 30 |
| 31 class ProcessReader; | 31 class ProcessReader; |
| 32 | 32 |
| 33 namespace internal { | 33 namespace internal { |
| 34 | 34 |
| 35 //! \brief A ThreadSnapshot of a thread in a running (or crashed) process on a | 35 //! \brief A ThreadSnapshot of a thread in a running (or crashed) process on a |
| 36 //! Mac OS X system. | 36 //! macOS system. |
| 37 class ThreadSnapshotMac final : public ThreadSnapshot { | 37 class ThreadSnapshotMac final : public ThreadSnapshot { |
| 38 public: | 38 public: |
| 39 ThreadSnapshotMac(); | 39 ThreadSnapshotMac(); |
| 40 ~ThreadSnapshotMac() override; | 40 ~ThreadSnapshotMac() override; |
| 41 | 41 |
| 42 //! \brief Initializes the object. | 42 //! \brief Initializes the object. |
| 43 //! | 43 //! |
| 44 //! \param[in] process_reader A ProcessReader for the task containing the | 44 //! \param[in] process_reader A ProcessReader for the task containing the |
| 45 //! thread. | 45 //! thread. |
| 46 //! \param[in] process_reader_thread The thread within the ProcessReader for | 46 //! \param[in] process_reader_thread The thread within the ProcessReader for |
| (...skipping 30 matching lines...) Expand all Loading... |
| 77 int priority_; | 77 int priority_; |
| 78 InitializationStateDcheck initialized_; | 78 InitializationStateDcheck initialized_; |
| 79 | 79 |
| 80 DISALLOW_COPY_AND_ASSIGN(ThreadSnapshotMac); | 80 DISALLOW_COPY_AND_ASSIGN(ThreadSnapshotMac); |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 } // namespace internal | 83 } // namespace internal |
| 84 } // namespace crashpad | 84 } // namespace crashpad |
| 85 | 85 |
| 86 #endif // CRASHPAD_SNAPSHOT_MAC_THREAD_SNAPSHOT_MAC_H_ | 86 #endif // CRASHPAD_SNAPSHOT_MAC_THREAD_SNAPSHOT_MAC_H_ |
| OLD | NEW |